-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native module can not be null. for ios #141
Comments
@deepanshuRustagi are you using expo by any chance? This is because we do not support it. |
No, I am not using Expo. Firstly i was but after reading ur documentation i shifted it from expo but it is still not working. |
@deepanshuRustagi ok can you provide more details as in which version of our package are you using , which react version , react-native version and Xcode version? |
Ok |
@deepanshuRustagi everything looks fine , try deleting the derived data , stopping the metro bundler and try again. If you still can't get it to run try the example in this repo , before you run it place it in a different directory and run npm i on it. |
I have tried that thing also but it is not working at all in ios @iThink32 |
@deepanshuRustagi did you try running the example repo? Its working fine for me.Also please refer the integration videos here |
hi @iThink32 i have checked ur video. In my node modules folder i got razorpay package but in that node_modules folder is also present but in urs it is not. |
@deepanshuRustagi yes , ideally react-native-razorpay should not contain node_modules.Please refer the example in this repo.Run npm i on it , and blacklist/remove node_modules folder if it exists in react-native-razorpay. |
closing due to inactivity.Reopen if required. |
Hi @iThink32. No error is producing now but button click doesn't perform any action like in android razorpay screen us opening but not in ios |
@deepanshuRustagi please check the example repo in this folder , run npm i , delete the node-modules folder in react-native-razorpay / blacklist it and try. |
ok |
@deepanshuRustagi comment changed , please check the updated one. |
Where i can find them? |
@deepanshuRustagi as in the example repo? |
@iThink32
i am using this for both i copied it from the example |
@deepanshuRustagi please read the above comments , I updated it. |
closing due to inactivity. |
@iThink32 I have linked the razorpay react native in the project but checkout is not opening in the project |
RazorpayCheckout.open(options).then((data) => { this is not working in ios |
@deepanshuRustagi what is the issue you are facing? |
That screen which opens after clicking button is not opening |
It is opening in android but not in ios @iThink32 |
@deepanshuRustagi what error are you receiving? |
@deepanshuRustagi can you please cross verify with the example project in our repo? |
let options = {
It is working till console.log but not after that |
@deepanshuRustagi are you getting any error in the console and did you cross check with the example? |
@iThink32 I have crossed check with the example i am not getting any error in the console. it is behaving differently in android and ios |
@deepanshuRustagi I have just updated the master of this branch with an example that is built with the latest version of react-native and have also cross checked with the |
Ok Thnks @iThink32 |
closing due to inactivity. |
Getting the same error |
Please make sure that Razorpay.framework is present in embedded libraries section of your build settings and libRazorpay.a should be there in linked libraries. |
It is done. I am not facing any error now.
Best Regards
Deepanshu
…On Wed, May 22, 2019 at 7:09 PM Pranav Gupta ***@***.***> wrote:
Please make sure that Razorpay.framework is present in embedded libraries
section of your build settings and libRazorpay.a should be there in linked
libraries.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#141?email_source=notifications&email_token=AITZ2OZ5QBLZXQVSLY67HCTPWVEIPA5CNFSM4GMFVENKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV7CNMQ#issuecomment-494806706>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AITZ2O746OLUJA75BR5XKNLPWVEIPANCNFSM4GMFVENA>
.
|
With IOS it is giving me error native module is not null
I have deleted the node module folder from the react-native-razorpay
would you please help asap..
The text was updated successfully, but these errors were encountered: