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.xcstringsfile on iOS, ares/values/strings.xmlon Android or using thetitleattribute on theShopifyCheckoutSheetKitconfiguration object.
Important
The title configuration attribute will affect iOS only.
ShopifyCheckoutSheetKit.setConfig({
+ title: "Localized value"
})- The
completedevent 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