Suraj-Tiwari / react-native-payumoney

React Native Payumoney (Android/IOS)
MIT License
18 stars 9 forks source link

Native module cannot be null #17

Closed saurabh-nandan closed 5 years ago

saurabh-nandan commented 5 years ago

Describe the bug I am using payumoney for react native app. I have installed this library but couldnot able to sucessfully execute due to an error "Native module cannot be null"

i am working on this environment:- "react": "16.8.3", "react-native": "0.59.9", "react-native-payumoney": "0.0.3"

Please resolve this issue asap i am stuck with it.

PFA for the references. Thanks.

Simulator Screen Shot - iPhone X - 2019-06-18 at 12 26 05

ankitnb commented 5 years ago

Hey, did you get resolved this issue in iOS? I am having the same issue.

Suraj-Tiwari commented 5 years ago

for ios please install module from github repo then run react-native link react-native-payumoney

ankitnb commented 5 years ago

I installed with these steps: 1) $ npm i react-native-payumoney --save 2) $ react-native link react-native-payumoney

what I have to install else?

Suraj-Tiwari commented 5 years ago

change step 1 to npm i {repo link}

ankitnb commented 5 years ago

which repo link? of iOS ? can you please describe me in detail?

Suraj-Tiwari commented 5 years ago

This github repo link

ankitnb commented 5 years ago

I installed with, npm i https://github.com/Suraj-Tiwari/react-native-payumoney.git

but still I face same issue.

Suraj-Tiwari commented 5 years ago

link again

ankitnb commented 5 years ago

Linked but getting errors in iOS code, do I have to replace any code for iOS files? Screen Shot 2019-07-08 at 5 37 04 PM

ankitnb commented 5 years ago

Guys, I found solution of it. After installing pod 'PayUmoney_PnP' pods, it worked for me.

jrsarath commented 5 years ago

Please close this issue if resolved

Pawanjot3015 commented 4 years ago

Guys, I found solution of it. After installing pod 'PayUmoney_PnP' pods, it worked for me.

not working for me still facing Use of undeclared identifier PUMTxnParam