question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

null is not an object (evaluating 'StripeModule.init') issue in iOS

See original GitHub issue

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 Screen Shot 2019-10-21 at 2 09 16 PM

envoirment

 react": "16.8.3",
 react-native": "0.59.9",
 tipsi-stripe": "^7.5.1"
MacOS Catlina 10.15

Help will be appreciated

Thanks

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:13

github_iconTop GitHub Comments

12reactions
joeygoksucommented, Nov 27, 2019

$ 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

5reactions
kronix-devcommented, Oct 8, 2020

Im having the same issue in Android

Read more comments on GitHub >

github_iconTop Results From Across the Web

stripe.setOptions error: null is not an object (evaluating ...
Before I have submitted the issue [X] I have read an installation guide [X] ... null is not an object (evaluating 'StripeModule.init') #578....
Read more >
react native - null is not an object (evaluating 'StripeModule.init')
null is not an object (evaluating 'StripeModule.init'). I was using tipsi-stripe module in my react-native app. I didn't find any topic ...
Read more >
null is not an object( evaluating StripeModule.init) Tipsi-Stripe
I believe the stripe.setOptions() is causing the issue. import React, { useState } from 'react' import { Image, Text, TextInput ...
Read more >
null is not an object (evaluating 'StripeModule.init')
Before I have submitted the issue. [X] I have read an installation guide [X] I know that for an iOS I need to...
Read more >
Stripemodule Failing For Android React Native Project
Build failed on iOS Undefined symbol: _swift_getOpaqueTypeConformance. The problem null is not an object (evaluating 'StripeModule.init') issue in iOS.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found