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

issue running module locally

Open radimmotycka opened this issue 4 years ago • 0 comments

Hi, thanks for the nice module. Pls, would you advise what I am doing wrong when running it? I ran both commands: $ yarn add react-native-stripe-payments

$ npx react-native link react-native-stripe-payments

Built ios app

and running it from VS code using : npx react-native run-ios --verbose

and getting error: This error is located at: in App (at renderApplication.js:45) in RCTView (at View.js:34) in View (at AppContainer.js:106) in RCTView (at View.js:34) in View (at AppContainer.js:132) in AppContainer (at renderApplication.js:39) [Tue May 04 2021 15:06:19.848] ERROR TypeError: null is not an object (evaluating 'StripePayments.init')

This error is located at: in App (at renderApplication.js:45) in RCTView (at View.js:34) in View (at AppContainer.js:106) in RCTView (at View.js:34) in View (at AppContainer.js:132) in AppContainer (at renderApplication.js:39)

Screen Shot 2021-05-04 at 3 08 15 PM

Many thanks

radimmotycka avatar May 04 '21 13:05 radimmotycka