File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
2
2
#import " RNSquarePos.h"
3
- #import < SquarePointOfSaleSDK/SquarePointOfSaleSDK.h>
3
+ // Following have been added as the umbrella header file of SquarePointOfSaleSDK.h is no more shipped from upstream SquarePointOfSaleSDK
4
+ #import < SquarePointOfSaleSDK/SCCMoney.h>
5
+ #import < SquarePointOfSaleSDK/SCCAPIRequest.h>
6
+ #import < SquarePointOfSaleSDK/SCCAPIConnection.h>
4
7
#import < Foundation/Foundation.h>
5
8
6
9
@implementation RNSquarePos
@@ -21,7 +24,7 @@ @implementation RNSquarePos
21
24
NSError *error;
22
25
NSURL *const callbackURL = [NSURL URLWithString: callbackUrl];
23
26
SCCMoney *const amount = [SCCMoney moneyWithAmountCents: _amount currencyCode: currency error: NULL ];
24
- [SCCAPIRequest setClientID : applicationId];
27
+ [SCCAPIRequest setApplicationID : applicationId]; // clientID property is deprecated. Instead per documentation applicationID property needs to be set.
25
28
26
29
// notes
27
30
NSString *notes = nil ;
Original file line number Diff line number Diff line change 1
1
2
2
{
3
3
"name" : " react-native-square-pos" ,
4
- "version" : " 1.1.1 " ,
4
+ "version" : " 1.1.2 " ,
5
5
"description" : " React Native wrapper around Square's Android / iOS POS SDKs" ,
6
6
"main" : " index.js" ,
7
7
"scripts" : {
You can’t perform that action at this time.
0 commit comments