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

Cordova not available #70

Open
owengna opened this issue May 29, 2020 · 2 comments
Open

Cordova not available #70

owengna opened this issue May 29, 2020 · 2 comments

Comments

@owengna
Copy link

owengna commented May 29, 2020

I am using ionic 4 and i followed the documentation but I got the following errors.

Native: tried calling Stripe.setPublishableKey, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator

Native: tried calling Stripe.createCardToken, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator

it seems like other Cordova plugins are fine. Any idea about this problem?

@sboudouk
Copy link

Are you listening to deviceready event before using cordova object ? is cordova.js included in your html root ?

@vidya-l
Copy link

vidya-l commented Nov 9, 2022

Did it work?

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