Open rsa408 opened 7 years ago
Are you running it in a Cordova project?
Hi, yes as I mentioned: i am using ionic 2.0.0.rc4 with cordova 6.X.
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. Andy Android Emulator 46.16.48 open's application gets user and password but login button is not working I've also add ng-enter controller but didn't navigate to main-page.
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: