Releases: Shopify/checkout-sheet-kit-android
Releases · Shopify/checkout-sheet-kit-android
3.0.0
What's Changed
- Improved error handling, and updated exception class hierarchy. The kit now degrades to a fallback WebView when it encounters potentially recoverable errors
- The present function returns the Dialog so it can be dismissed at a later time by @lorenzOliveto
- Adds a "Platform" property to the ShopifyCheckoutSheetKit configuration for identifying other platforms
3.0.0-beta.2
- Updates configuration to allow setting a platform (for ReactNative), which will be appended to the User-Agent
- Present now returns a handle to allow clients to dismiss the dialog
- Removes customer_account_required exception
3.0.0-beta.1
Improves error handling and adds a fallback WebView to retry checkout in, should a recoverable error be encountered.
2.0.1
2.0.0
What's Changed
- The
present()
function now accepts a subclass ofDefaultCheckoutEventProcessor
, making it a little easier to change the processor in the future in a non-breaking way, - Replace the loading spinner with a progress bar to benefit from the checkout loading skeleton and faster perceived load times,
- Payload added to
onCheckoutCompleted()
with details about the checkout / order, - Retain WebView cache on close of the dialog unless checkout is complete, to allow quickly re-opening checkout
- Update
kotlinx-serialization-json
from version 1.5.1 to 1.6.3
Further details can be found in the CHANGELOG
1.0.0
ShopifyCheckoutSheetKit is now generally available for Swift, Android and React Native - providing the world's highest converting, customizable, one-page checkout.
0.5.0
What's Changed
- Expose Web Pixel events via new onWebPixelEvent(PixelEvent) function, added to the CheckoutEventProcessor interface - #50, #46, #45, #40, #29
- Send
Sec-Purpose: prefetch
header to identify preload requests - #51 - Match CheckoutDialog's header padding with checkout's padding - #44
- Ensure
loadCheckout()
is not called twice for preloads - #49 - Ensure the WebView cache is cleared on error responses for preloaded requests - #52
0.4.1
- Breaking Changes: The library has been rebranded from Shopify Checkout Kit to Shopify Checkout Sheet Kit. Apologies for any inconvenience caused. Here are the steps to upgrade:
- Update your gradle/maven import:
- implementation 'com.shopify:checkout-kit:0.3.3'
+ implementation 'com.shopify:checkout-sheet-kit:0.4.0'
- Update the imports throughout your codebase:
- com.shopify.checkoutkit.*
+ com.shopify.checkoutsheetkit.*
- Update the
present|preload|configure()
calls throughout your codebase:
- ShopifyCheckoutKit.present|preload|configure()
+ ShopifyCheckoutSheetKit.present|preload|configure()
Also included:
- Inform checkout when the sheet has been presented to help distinguish between preloads and presents. Groundwork for analytics.
- Emit instrumentation payloads to improve observability.