i am trying to integrate Stripe in react native . i have added tipsi stripe and run react-native link tipsi-stripe . it works well on Android but not for iOS
stripe.setOptions({
publishableKey: 'PUBLISH_API_STRIPE_KEY',
});
onAndroid it works well but for iOS ,stripe is not initializing

envoirment
react": "16.8.3",
react-native": "0.59.9",
tipsi-stripe": "^7.5.1"
MacOS Catlina 10.15
Help will be appreciated
Thanks
cd ios && pod install
$ cd ios
open podfile and add these lines
pod 'Stripe', '~> 14.0.0'
pod 'tipsi-stripe', :path => '../node_modules/tipsi-stripe'
save and
pod install
cd ..
yarn start -- --reset-cache
or
npm run start -- --reset-cache
Thanks @y7usuf, your comment fixed my build issues! How did you know to add the node module as a pod?
Actually, linking is not working for iOS somehow. I added it manually. Because dependency is missing.
Oh that's weird, manual linking wasn't working for me for some reason.
@y7usuf Thank you Yusuf :)
thanks @y7usuf
i'm having the same error in both platform .... any solution ??
Im having the same issue in Android
i'm having the same error in both platform .... any solution ??
environment
react": "16.13.1",
react-native": "0.63.4",
tipsi-stripe": "^9.0.0"
MacOS big sur 11.1
@NiravSony any luck?
i am trying to integrate Stripe in react native . i have added tipsi stripe and run
react-native link tipsi-stripe. it works well on Android but not for iOSstripe.setOptions({ publishableKey: 'PUBLISH_API_STRIPE_KEY', });onAndroid it works well but for iOS ,stripe is not initializing
envoirment
react": "16.8.3", react-native": "0.59.9", tipsi-stripe": "^7.5.1" MacOS Catlina 10.15Help will be appreciated
Thanks
Nice larky
I just run react-native link tipsi-stripe and recompile the app
Most helpful comment
$ cd iosopen podfile and add these lines
save and
yarn start -- --reset-cacheor
npm run start -- --reset-cache