Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using Apple Pay or their credit card.
I am getting multiple different deprecation warnings by Xcode build because of deprecated Apple Pay method:
[23:02:59]: ▸ Linking Reachability
[23:04:21]: ▸ ⚠️ Mobile-Buy-SDK/Pay/PaySession.swift:190:17: 'requiredBillingAddressFields' was deprecated in iOS 11.0
[23:04:21]: ▸ request.requiredBillingAddressFields = .all
[23:04:21]: ▸ ^
[23:04:21]: ▸ ⚠️ Mobile-Buy-SDK/Pay/PaySession.swift:191:17: 'requiredShippingAddressFields' was deprecated in iOS 11.0
[23:04:21]: ▸ request.requiredShippingAddressFields = .all
[23:04:21]: ▸ ^
[23:04:21]: ▸ ⚠️ Mobile-Buy-SDK/Pay/PaySession.swift:263:25: 'invalidShippingPostalAddress' was deprecated in iOS 11.0: Use PKPaymentAuthorizationResult with PKPaymentAuthorizationStatusFailure and include the result of -paymentShippingAddressInvalidErrorWithKey:localizedDescription: in the errors array.
[23:04:21]: ▸ completion(.invalidShippingPostalAddress, [], self.checkout.summaryItems(for: self.shopName))
[23:04:21]: ▸ ^
[23:04:21]: ▸ ⚠️ Mobile-Buy-SDK/Pay/PaySession.swift:306:29: 'invalidShippingPostalAddress' was deprecated in iOS 11.0: Use PKPaymentAuthorizationResult with PKPaymentAuthorizationStatusFailure and include the result of -paymentShippingAddressInvalidErrorWithKey:localizedDescription: in the errors array.
[23:04:21]: ▸ completion(.invalidShippingPostalAddress, [], self.checkout.summaryItems(for: self.shopName))
Is it planned to upgrade the SDK in order to provide access to those fields as well?
I am getting multiple different deprecation warnings by Xcode build because of deprecated Apple Pay method:
Is it planned to upgrade the SDK in order to provide access to those fields as well?