paynl-pos-sdk-react-native 0.0.85 → 0.0.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ios/PaynlSdk.mm +3 -3
- package/package.json +1 -1
package/ios/PaynlSdk.mm
CHANGED
|
@@ -86,11 +86,11 @@ RCT_EXPORT_MODULE(PaynlSdk)
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
- (void)
|
|
89
|
+
- (void)sendTicketViaEmail:(nonnull NSString *)email transactionId:(nonnull NSString *)transactionId transactionGuid:(nonnull NSString *)transactionGuid ticket:(nonnull NSString *)ticket resolve:(nonnull RCTPromiseResolveBlock)resolve reject:(nonnull RCTPromiseRejectBlock)reject {
|
|
90
90
|
if (@available(iOS 17, *)) {
|
|
91
|
-
[[PayNlPosService instance] sendTicketWithEmail:email transactionId:transactionId ticket:ticket resolve:resolve rejecter:reject];
|
|
91
|
+
[[PayNlPosService instance] sendTicketWithEmail:email transactionId:transactionId transactionGuid:transactionGuid ticket:ticket resolve:resolve rejecter:reject];
|
|
92
92
|
} else {
|
|
93
|
-
|
|
93
|
+
reject(@"UNSUPPORTED", @"iOS 17 is required for the PayNL SDK", nil);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
|