#BrandDo
1 messages · Page 1 of 1 (latest)
Which Stripe SDK are you using on Android? What's the error you're getting?
stripe/react-native
when i build app run on device android when go to page using stripe crashed app
Which version of Stripe React Native SDK are you using? Can you track the logs for any error message?
Also with the version of android the build on ios still works
version stripe/react-native 0.25.0
i build to apk file and install on android i can not check log when crashed app
What type of integration are you using? Payment Sheet?
add card
https://stripe.com/docs/payments/accept-a-payment?platform=react-native
There are two types of integration in React Native, Mobile Payment Element (Payment Sheet) and Card Element only. Which one do you use?
Which part do you use Stripe? I can only see saved card payment methods?
click to page add cart using stripe my app be crashed
Sorry, I can read Japanese. I guess you're referring to the + sign at the bottom. When customer clicks on it, what do you expect to appear? Is it a Payment Sheet or just card Element? Can you share your code where Stripe is used when clicking the + button?
<CardForm
placeholders={{
number: '4242 4242 4242 4242',
expiration: 'MM/YY',
}}
accessible={false}
onFormComplete={(card) => {
setCardDetails(card);
}}
style={styles.cardContainer}
cardStyle={[Platform.OS === 'android' ? styles.cardAndroid : styles.cardIos, { textColor: '#000' }]}
/>
my code in page
wait me record expected on ios
here is record my app on ios
Hi @summer basin are you running the app in Expo Go or your own runtime?
my app run build in expo go
And when you say it runs on dev, what runtime it is?
my own runtime: expo-cli
OK, then that's a possibility that the Expo Go runtime doesn't support certain API/methods that your own runtime supports.
but with the same build, the app runs on ios, only android crashes
Any crash log?
Here, this is the root cause
You need to use a MaterialComponents theme in your android app
Tks i try to add MaterialComponents . If there are any more errors I will ask you more
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!