Describe the bug
AddressSheet component doesn't trigger onError or onSubmit callbacks anymore. It was working fine on react-native version 0.74. I am using Expo (v 52) and I tried using 3 different versions of this module (38.6, 39.0 and 40.0) and neither works.
To Reproduce
Steps to reproduce the behavior:
Create new Expo project through their CLI npx create-expo-app@latest
Reset project npm run reset-project
Replace index.tsx with
import { Button, Text, View } from "react-native"
import { AddressSheet, StripeProvider } from "@stripe/stripe-react-native"
import { useMemo, useState } from "react"
4. Start the app
5. Click on the Open Address Sheet button
6. Click Save address button
7. Observe no log and inability to open the sheet again due to visible not being reset
**Expected behavior**
Expectation is for onSubmit and onError to trigger
**Additional context**
My presumption is that there is a change to how native components should be merged into react-native:
[0.74 native components](https://reactnative.dev/docs/0.74/native-components-android)
[0.76 native components](https://reactnative.dev/docs/fabric-native-components-introduction)
Describe the bug AddressSheet component doesn't trigger onError or onSubmit callbacks anymore. It was working fine on react-native version 0.74. I am using Expo (v 52) and I tried using 3 different versions of this module (38.6, 39.0 and 40.0) and neither works. To Reproduce Steps to reproduce the behavior:
npx create-expo-app@latest
npm run reset-project
export default function Index() { const [visible, setVisible] = useState(false) const addressDefaultValues = useMemo(() => { return { name: "John Doe", address: { city: "San Francisco", country: "US", line1: "123 Market St", line2: "Suite 500", postalCode: "94103", state: "CA" } } }, []) return ( <StripeProvider publishableKey={"some_stripe_pk_key"}