#BrandDo

1 messages · Page 1 of 1 (latest)

storm yokeBOT
spice zenith
#

Which Stripe SDK are you using on Android? What's the error you're getting?

summer basin
#

stripe/react-native

#

when i build app run on device android when go to page using stripe crashed app

spice zenith
#

Which version of Stripe React Native SDK are you using? Can you track the logs for any error message?

summer basin
#

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

spice zenith
#

What type of integration are you using? Payment Sheet?

summer basin
#

add card

spice zenith
summer basin
#

here is record screen error

spice zenith
#

Which part do you use Stripe? I can only see saved card payment methods?

summer basin
#

click to page add cart using stripe my app be crashed

spice zenith
#

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?

summer basin
#

<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

still pecan
#

Hi @summer basin are you running the app in Expo Go or your own runtime?

summer basin
#

my app run build in expo go

still pecan
#

And when you say it runs on dev, what runtime it is?

summer basin
#

my own runtime: expo-cli

still pecan
#

OK, then that's a possibility that the Expo Go runtime doesn't support certain API/methods that your own runtime supports.

summer basin
#

but with the same build, the app runs on ios, only android crashes

still pecan
#

Any crash log?

summer basin
#

wait me take screenshot error log

still pecan
#

Here, this is the root cause

#

You need to use a MaterialComponents theme in your android app

summer basin
#

Tks i try to add MaterialComponents . If there are any more errors I will ask you more

still scaffold
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!