Skip to content

Releases: Shopify/checkout-sheet-kit-react-native

3.4.0

08 Oct 15:00
955506d

Choose a tag to compare

✨ Shopify Accelerated Checkouts

3.4.0 of @shopify/checkout-sheet-kit introduces the latest feature of the Checkout Kit: Accelerated Checkouts.

npm install @shopify/checkout-sheet-kit@latest

Accelerated Checkouts offer a way to render "wallet" buttons in your app with minimal code - including support for Apple Pay and Shop Pay out of the box.

shopify-accelerated-checkouts

📋 Requirements

🛠️ Integrating

Integrating these buttons is quite straight forward:

  1. Update your Checkout Kit Configuration object:
import { Configuration, ColorScheme } from '@shopify/checkout-sheet-kit'

const config: Configuration = {
  colorScheme: ColorScheme.web,
  preloading: true,
+  acceleratedCheckouts: {
+    storefrontDomain: env.STOREFRONT_DOMAIN!,
+    storefrontAccessToken: env.STOREFRONT_ACCESS_TOKEN!
+    wallets: {
+      applePay: {
+         contactFields: [ApplePayContactField.email, ApplePayContactField.phone],
+         merchantIdentifier:  env.STOREFRONT_MERCHANT_IDENTIFIER!,
+      }
+    }
  }
}

function AppWithCheckout() {
    return (
       <ShopifyCheckoutSheetProvider config={config}>
          <App />
       </ShopifyCheckoutSheetProvider>
     )
}
  1. Add <AcceleratedCheckoutButtons /> to your cart or product details screens:
+ import { AcceleratedCheckoutButtons } from '@shopify/checkout-sheet-kit'

function CartScreen() {
    return (
       <View>
+      <AcceleratedCheckoutButtons 
+         cartId="gid://Shopify/Cart/123"  />
       </View>
    )
}

function ProductDetailsScreen() {
    return (
       <View>
+       <AcceleratedCheckoutButtons 
+         variantId="gid://Shopify/ProductVariant/123" 
+         quantity={1} />
       </View>
    )
}

Full Changelog: 3.3.3...3.4.0

3.4.0-rc.3

30 Sep 14:09
dcf191b

Choose a tag to compare

3.4.0-rc.3 Pre-release
Pre-release

What's Changed

  • Add support for supportedShippingCountries to restrict shipping in the Apple Pay sheet by @markmur in #345

Dependencies

Android version: 3.5.2
Swift version: 3.4.0-rc.9


Full Changelog: 3.4.0-rc.2...3.4.0-rc.3

3.4.0-rc.2

23 Sep 07:55
dddf463

Choose a tag to compare

3.4.0-rc.2 Pre-release
Pre-release

What's Changed

Full Changelog: 3.4.0-rc.1...3.4.0-rc.2

3.3.3

19 Sep 13:54
e7e97e6

Choose a tag to compare

🪲 Bug Fixes

Patch for failed fix in 3.3.2: #333 by @kieran-osgood-shopify in #339

Full Changelog: 3.3.2...3.3.3

3.3.2

19 Sep 09:23
6e747e4

Choose a tag to compare

🪲 Bug Fixes

Full Changelog: 3.3.1...3.3.2

3.3.1

08 Sep 22:09
9f423e4

Choose a tag to compare

What's Changed

  • Fix: #327 Updates Sec-Purpose header to Shopify-Purpose header to prevent related issues in loading checkouts in iOS 26 WKWebViews. Related issue

Full Changelog: 3.3.0...3.3.1

3.4.0-rc.1

27 Aug 17:00
ecc4f95

Choose a tag to compare

3.4.0-rc.1 Pre-release
Pre-release

Note

Accelerated Checkouts are still in beta testing, with a stable version expected soon.


✨ Shopify Accelerated Checkouts

3.4.0-rc.1 of @shopify/checkout-sheet-kit introduces the latest feature of the Checkout Kit: Accelerated Checkouts.

npm install @shopify/checkout-sheet-kit@next

Accelerated Checkouts offer a way to render "wallet" buttons in your app with minimal code - including support for Apple Pay and Shop Pay out of the box.

shopify-accelerated-checkouts

📋 Requirements

🛠️ Integrating

Integrating these buttons is quite straight forward:

  1. Install the beta 3.4.0-rc.1:
npm install @shopify/checkout-sheet-kit@next
  1. Update your Checkout Kit Configuration object:
import { Configuration, ColorScheme } from '@shopify/checkout-sheet-kit'

const config: Configuration = {
  colorScheme: ColorScheme.web,
  preloading: true,
+  acceleratedCheckouts: {
+    storefrontDomain: env.STOREFRONT_DOMAIN!,
+    storefrontAccessToken: env.STOREFRONT_ACCESS_TOKEN!
+    wallets: {
+      applePay: {
+         contactFields: [ApplePayContactField.email, ApplePayContactField.phone],
+         merchantIdentifier:  env.STOREFRONT_MERCHANT_IDENTIFIER!,
+      }
+    }
  }
}

function AppWithCheckout() {
    return (
       <ShopifyCheckoutSheetProvider config={config}>
          <App />
       </ShopifyCheckoutSheetProvider>
     )
}
  1. Add <AcceleratedCheckoutButtons /> to your cart or product details screens:
+ import { AcceleratedCheckoutButtons } from '@shopify/checkout-sheet-kit'

function CartScreen() {
    return (
       <View>
+      <AcceleratedCheckoutButtons 
+         cartId="gid://Shopify/Cart/123"  />
       </View>
    )
}

function ProductDetailsScreen() {
    return (
       <View>
+       <AcceleratedCheckoutButtons 
+         variantId="gid://Shopify/ProductVariant/123" 
+         quantity={1} />
       </View>
    )
}

🎯 What's Next

We're actively working towards a stable release of the feature, but if you have any questions or comments in the meantime, please post in the Announcement discussion.


Full Changelog: 3.3.0...3.4.0-rc.1

3.3.0

13 Aug 09:10
d32ab20

Choose a tag to compare

What's Changed

New Features

  • Google Pay Support: Adds GooglePay support for eligible devices on Android
  • First Order Detection: Adds isFirstOrder attribute to web pixel events for customer analytics
  • Customizable Close Button: Allow customizing sheet close button color for improved theming
  • Documentation Updates: Update README to support cart permalink use case and Checkout Kit rename

Library Updates

  • Upgrades Swift dependency to 3.3.0
  • Upgrades Android dependency to 3.5.0

New Contributors

Full Changelog: 3.2.0...3.3.0

3.2.0

18 Dec 14:29
bb5d30e

Choose a tag to compare

What's Changed

Full Changelog: 3.1.2...3.2.0

3.1.2

15 Nov 10:51
4e4b31e

Choose a tag to compare

What's Changed

  • Add consumer proguard rules to prevent minification by @markmur in #137

Full Changelog: 3.1.1...3.1.2