File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11
22#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>
47#import < Foundation/Foundation.h>
58
69@implementation RNSquarePos
@@ -21,7 +24,7 @@ @implementation RNSquarePos
2124 NSError *error;
2225 NSURL *const callbackURL = [NSURL URLWithString: callbackUrl];
2326 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.
2528
2629 // notes
2730 NSString *notes = nil ;
Original file line number Diff line number Diff line change 11
22{
33 "name" : " react-native-square-pos" ,
4- "version" : " 1.1.1 " ,
4+ "version" : " 1.1.2 " ,
55 "description" : " React Native wrapper around Square's Android / iOS POS SDKs" ,
66 "main" : " index.js" ,
77 "scripts" : {
You can’t perform that action at this time.
0 commit comments