[React Native] 4.0.0-alpha.3
Pre-release
Pre-release
Immutable
release. Only release title and notes can be modified.
Breaking changes
Accelerated checkout customer identity is now exclusive
Customer Account tokens can no longer be combined with contact fields:
acceleratedCheckouts: {
customer: {
accessToken,
- email,
- phoneNumber,
}
}Use either {accessToken} or {email, phoneNumber}.
Additive changes
Checkout preloading
ShopifyCheckoutKit.preload(checkoutURL) and invalidate() are now available through both the class and provider context.
Fulfillment-change events
CheckoutProtocol.fulfillmentChange can now be registered in presentation protocol handlers.
Protocol method type
The package now exports CheckoutProtocolMethod for strongly typed method references.
Behavior changes
The React Native facade now consumes the protocol package's generated catalog while continuing to expose only the supported Checkout Kit events.
What's Changed
- Bump React Native native SDK alpha versions by @tiagocandido in #347
- expose fulfilment change in RN by @kiftio in #350
- Add React Native checkout preloading by @tiagocandido in #343
- Bump React Native alpha release to 4.0.0-alpha.2 by @tiagocandido in #353
- [TypeScript] Agnostic protocol by @markmur in #314
- Move RN iOS tests into XcodeGen integration app by @kieran-osgood-shopify in #322
- Add native checkout close selector for RN E2E by @kyle-schellen in #333
Full Changelog: react-native/4.0.0-alpha.1...react-native/4.0.0-alpha.3