File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
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 ;
You can’t perform that action at this time.
0 commit comments