I am trying to link stripe payment to react native expo using the @stripe/stripe-react-native package but i am getting error while providing publishable key to stripe provider element
@stripe/stripe-react-native
2
You need to update to the latest version of Expo.
https://github.com/stripe/stripe-react-native#typeerror-null-is-not-an-object-evaluating-_nativestripesdkdefaultinitialise-on-android
Looks Like, SDK is not initialised properly. SDK functions call before SDK is initialised Please follow the steps of SDK configuration.
https://www.npmjs.com/package/@stripe/stripe-react-native
Click here to cancel reply.
2
Answers
You need to update to the latest version of Expo.
https://github.com/stripe/stripe-react-native#typeerror-null-is-not-an-object-evaluating-_nativestripesdkdefaultinitialise-on-android
Looks Like, SDK is not initialised properly.
SDK functions call before SDK is initialised Please follow the steps of SDK
configuration.
https://www.npmjs.com/package/@stripe/stripe-react-native