Skip to content
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

Don't work on server #19

Open
mcanobbio opened this issue Feb 16, 2018 · 2 comments
Open

Don't work on server #19

mcanobbio opened this issue Feb 16, 2018 · 2 comments

Comments

@mcanobbio
Copy link

I tried use and when try to call function iapReceiptValidator get the error

fetch is not defined

I had to do a fork and add fetch-node npm and import on src/index.js and works perfect

idk how to detect if the environment is front or node-server to make a PR, if anyone helps me with that, i'll do a PR for add support to node-server

@akshetpandey
Copy link

You should be using this library instead for server stuff https://github.com/voltrue2/in-app-purchase

@sibelius
Copy link
Owner

U need to polyfill fetch to this package works well, we should add it to the README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants