stripe-react-native icon indicating copy to clipboard operation
stripe-react-native copied to clipboard

In Android app crash in release mode

Open akshSekhon opened this issue 6 months ago • 8 comments

Describe the bug

Android app is crash while initialising stripe

To Reproduce useEffect(() => { initializeStripe() }, [])

export const initializeStripe = async () => { const publishableKey = "km2Vp...." if (!publishableKey) { console.warn('Stripe key is missing!'); return; } try { const resStripeInit = await initStripe({ publishableKey, merchantIdentifier: 'merchant.identifier', }); console.log('resStripeInit resStripeInit:-- ', resStripeInit); } catch (error) { console.log('error initializeStripe raised', error); } } Expected behavior

Smartphone (please complete the following information):

  • Device: Android 11

Additional context "react-native": "0.78.1", "@stripe/stripe-react-native": "^0.45.0", also on "^0.46.0"

akshSekhon avatar May 20 '25 10:05 akshSekhon