-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
BugSomething isn't workingSomething isn't working
Description
What area is the issue related to?
Checkout Sheet Kit
What platform does the issue affect?
Android
What version of @shopify/checkout-sheet-kit are you using?
3.0.1 and 3.0.3
Do you have reproducible example code?
No response
Steps to Reproduce
- Implement
@shopify/checkout-sheet-kit
export const SomeComponent = () => {
const shopifyCheckout = useShopifyCheckoutSheet();
useEffect(() => {
const completed = shopifyCheckout.addEventListener(
'completed',
(event: CheckoutCompletedEvent) => {
console.log("I'm here");
},
);
return () => {
completed?.remove();
};
}, [shopifyCheckout]);
return <SomeStuff />
};- Perform a purchase on a store on Android
- The
completedevent is caught on dev builds, not caught on release build
Expected Behavior
The completed event is caught on release build
Actual Behavior
The completed event is not caught on release build
Storefront domain
redacted
Screenshots/Videos/Log output
No response
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working