#Jainish

1 messages ยท Page 1 of 1 (latest)

quaint mortarBOT
silk mortar
#

Hi there!

red field
#

Hey

silk mortar
#

Can you clarify what you tried and the documentation link you checked?

red field
#

sure

#

here is the link for dochttps://www.npmjs.com/package/@stripe/stripe-react-native/v/0.19.0

I have tried configure Martial component theme according to Doc. but I got errors after adding styles for in styles.xml file. I am not aware with android native code.

#

here is the error screen

silk mortar
#

And can you share your code that is throwing that error.

red field
#

this is the style code I have added
<!-- Stripe Screen theme -->
<style name="SrtipeTheme" parent="Theme.MaterialComponents.DayNight">
<!-- Original AppCompat attributes. -->
<item name="colorPrimaryDark">@color/status_bar_color</item>
<!-- <item name="colorPrimaryDark">@color/my_app_primary_dark</item>
<item name="colorSecondary">@color/my_app_secondary</item>
<item name="android:colorBackground">@color/my_app_background</item>
<item name="colorError">@color/my_app_error</item> -->
</style>

#

this is cardform code

<CardForm
onFormComplete={(cardDetails) => {
console.log('card details', cardDetails);
// setCard(cardDetails);
}}
style={{ height: 200 }}
/>

silk mortar
red field
#

sure let me check

red field
#

Thanks a lot man. you really saved my day. cheers ๐Ÿค๐Ÿฅ‚

silk mortar
#

Happy to help ๐Ÿ™‚