- Add
consumerProguardRulesbuild.gradle option to prevent minification of classes in release builds.
- Logs invalid JSON for lifecycle events
Upgrades Swift dependency to 3.1.1 and Android to 3.2.0.
- New
invalidate()function to manually clear the preload cache - Prevent recovery flow for multipass URLs containing one-time tokens
- Open deep links externally
- Ignore cancelled redirects, add OS debug logging
- Implement
onShowFileChooser, calling delegate - Ensure no existing parent is present before adding to container
- Fixes type imports/exports when
verbatimModuleSyntaxTS rule is enabled
- Upgrades Swift and Android dependencies to
3.0.4 - Updates Web Pixel schema
- Upgrades Swift and Android dependencies to
3.0.3
- Upgrades the underlying Swift dependency, fixing an issue where pixel events do not fire after checkout completion.
This version of the Checkout Sheet Kit ships with improvements to error
handling. Error messages will now contain message, code and recoverable
attributes.
In the event of a HTTP error, internal SDK error or mid-experience crash, the Checkout Sheet Kit will now automatically invoke a recovery mechanism in an effort to degrade gracefully.
Offering a world-class user experience is paramount, so please note that when the recovery state occurs, there are caveats to the developer experience:
- Checkout theming may fallback to the default checkout theme.
- Web pixels lifecycle events will not fire.
completedevents will contain anorderIdonly.
- Fixes an issue where opening
mailtolinks externally causes the application to crash.
- The loading spinner has been replaced by a progress bar. This will result in a faster perceived load time since the SDK will now 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 the ShopifyCheckoutSheetKit configuration.
Important
The title attribute on the configuration will configure 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 => {
+ console.log('[CheckoutCompletedEvent]', event.orderDetails.id);
});spinnerColorhas been replaced bytintColorfor iOS andprogressIndicatorfor android.
- Updates the underlying swift SDK from
1.0.1to1.0.2to include Shopify/checkout-sheet-kit-swift#143
- Fixes an issue where the parent view controller is dismissed after the checkout sheet is dismissed.
- Fixes an issue where the checkout can remain in a frozen empty state after being dismissed.
- Improve "close" event logic by only dismissing the Checkout sheet.
- Adds support for view controllers other than the
rootViewController. This allows triggering the Checkout Sheet from modals and formSheets etc.
ShopifyCheckoutSheetKit is now generally available for Swift, Android and React Native - providing the world's highest converting, customizable, one-page checkout.
Exposes a new pixel event type, which enables you to consume
Standard and
Custom
Web Pixels from Checkout and relay them to your third-party analytics providers.
Updates the README on the NPM regsitry entry page.
Initial publication of the @shopify/checkout-sheet-kit package.
Please refer to the Readme for setup intstructions and usage.