-
-
Notifications
You must be signed in to change notification settings - Fork 659
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
Prevent crashing from phones that doesn't have IAP feature #434
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should avoid using this
since there isn't any class instance in index.js
. Also some tests are failing please try running npm run lint && cd RNIapExample && npm run lint
and fix some lints for us.
@Rinkuk1993 Thank you for the contribution 👍. This feature is definitely needed to supports phones that doesn't support |
Sure. Thanks for the feedback. I will correct the code and push again |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Approve this PR
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Rinkuk1993 Could you do me one last favor? Since there is some conflict with master branch, I would like you to rebase your code to our master branch and push once more.
You can check now. Rebase is done and pushed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
These Additional checks will help in pushing code accessing RNIap plugin to SDK that does not have the plugin in it.
I am sure this will help other developers also to push code remotely without any breakage