-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ReferenceError: cordova is not defined in #30
Comments
Are you running it in a Cordova project? |
Hi, |
And you copied my code into the src folder? And you are running it via ionic server or ionic emulate? |
yes i copied and using ionic serve command |
Oh, I think this one may only work on a device/emulator - can you try there please. |
sure I will do and let you know. |
I have tested, Icouldn't run application on android SDK emulator it shows a black screen and could not open Index.html from www/asset/index.html. |
So when running in the emulator (or device), use remote debug to see if you can flesh out an error. |
in my case it gives error as build if failed, however my problem is the same as above |
Which part though? |
this part is fixed already, I had to add cordova.js in my html file. |
Hi,
Thank you for your code sharing but I got falowing error for : Cordova-Examples/securestorage_ionicnative/app/pages/home/home.ts in run time
ReferenceError: cordova is not defined
and fallowing for data input and login button click:
how ever it return 0 for login but it is not going to main-page also I am using the fallowings:
The text was updated successfully, but these errors were encountered: