#Kishore

1 messages · Page 1 of 1 (latest)

eternal ospreyBOT
unborn topaz
#

dependencies for my rn project

fallow vale
#

Can you share the code which threw null?

unborn topaz
#

ok

#

const initStripePayment = async () => {
console.log(paymentProvider?.key, 'gjv');
await initStripe({
publishableKey: paymentProvider?.key,
});
};

while initializing the stripe itself throwing this error

#

@fallow vale 👀

fallow vale
#

What is the error message when you initialised Stripe?

unborn topaz
#

null is not an object while evaluating nativestripe.sdk.getconstants

fallow vale
#

Which step are you integrating with that threw this error? How does this error come?

unborn topaz
unborn topaz
#

while initializing the stripe itself...it doesn't cause me error in android but in ios,it is happening like this..i think it might be compatible issues with ios

fallow vale
#

I noticed that you're running on a old stripe-react-native version. Can you try updating to the latest version 0.27.2 to check if it helps?

unborn topaz
#

i've a doubt will the latest one supports the ios 12.0 version

fallow vale
#

The latest one only supports iOS 13 and above

unborn topaz
#

okay

#

even after upgrading the stripe version and ios version the same issue pertains