Skip to content

Releases: Shopify/checkout-sheet-kit-android

3.0.2

29 Jul 08:41
6cb7598
Compare
Choose a tag to compare

What's Changed

  • Add onPermissionRequest to allow clients to grant camera permissions for verification apps by @kiftio in #114

Full Changelog: 3.0.1...3.0.2

3.0.1

31 May 13:24
a4a46b6
Compare
Choose a tag to compare

What's Changed

  • Call onPause when preloading allowing PageVisibility API to return th… by @kiftio in #103
  • Prevent destroying presented views if preload is called after present by @kiftio in #104
  • Release 3.0.1 by @kiftio in #105

Full Changelog: 3.0.0...3.0.1

3.0.0

20 May 12:06
40df20e
Compare
Choose a tag to compare

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

See the CHANGELOG and README for more details.

3.0.0-beta.2

15 May 13:15
57e0344
Compare
Choose a tag to compare
3.0.0-beta.2 Pre-release
Pre-release
  • 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

10 May 13:39
3551566
Compare
Choose a tag to compare
3.0.0-beta.1 Pre-release
Pre-release

Improves error handling and adds a fallback WebView to retry checkout in, should a recoverable error be encountered.

2.0.1

19 Mar 14:48
f7aa3ed
Compare
Choose a tag to compare
  • Update compileSDK to 34
  • Upgrade gradle and plugins (android gradle plugin, kotlin serialization, android kotlin)
  • Upgrade dependencies (robolectric)

2.0.0

18 Mar 15:54
9d083d9
Compare
Choose a tag to compare

What's Changed

  • The present() function now accepts a subclass of DefaultCheckoutEventProcessor, 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

31 Jan 10:54
11aff82
Compare
Choose a tag to compare

ShopifyCheckoutSheetKit is now generally available for Swift, Android and React Native - providing the world's highest converting, customizable, one-page checkout.

0.5.0

26 Jan 13:22
ee10155
Compare
Choose a tag to compare
0.5.0 Pre-release
Pre-release

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

12 Jan 14:22
0e6b639
Compare
Choose a tag to compare
0.4.1 Pre-release
Pre-release
  • 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:
  1. Update your gradle/maven import:
- implementation 'com.shopify:checkout-kit:0.3.3'
+ implementation 'com.shopify:checkout-sheet-kit:0.4.0'
  1. Update the imports throughout your codebase:
- com.shopify.checkoutkit.*
+ com.shopify.checkoutsheetkit.*
  1. 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.