Releases: Shopify/checkout-sheet-kit-react-native
Releases · Shopify/checkout-sheet-kit-react-native
2.0.1
2.0.0
What's Changed
Updated dependencies
New features
- The loading spinner has been replaced by a progress bar. This will result in a faster perceived load time since the SDK will no longer wait for full page load to show the DOM content.
- The "title" of the webview is now configurable via a
Localizable.xcstrings
file on iOS, ares/values/strings.xml
on Android or using thetitle
attribute on theShopifyCheckoutSheetKit
configuration object.
Important
The title
configuration attribute will affect iOS only.
ShopifyCheckoutSheetKit.setConfig({
+ title: "Localized value"
})
- The
completed
event now returns details about the order, including the
order ID:
- const checkoutCompletedSubscription = shopify.addEventListener('completed', () => {
+ const checkoutCompletedSubscription = shopify.addEventListener('completed', (event: CheckoutCompletedEvent) => {
+ console.log('[CheckoutCompletedEvent]', event.orderDetails.id);
});
Full Changelog: 1.0.5...2.0.0
1.0.5
1.0.4
1.0.3
1.0.2
What's Changed
- Bump ip from 1.1.8 to 1.1.9 by @dependabot in #70
- Maintain viewController to prevent dismissing all modals on close by @markmur in #69
Full Changelog: 1.0.1...1.0.2