You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, when I put ng-token-auth into my new ionic app project, It would work in browser but when I emulate in ios it just get stuck at index.html
Note: I create a new ionic app just to make sure it wasn't because of all the crap I put into my actual app
// added these to index.html - changed /js to /lib because thats where bower install in ionic
<script src="/lib/angular/angular.js"></script>
<script src="/lib/angular-cookie/angular-cookie.js"></script>
<script src="/lib/ng-token-auth/dist/ng-token-auth.js"></script>
// added 'ng-token-auth' in app.js
angular.module('starter', ['ionic', 'starter.controllers', 'starter.services', 'ng-token-auth'])
ionic emulate ios
At this point, even without adding anything else, my ionic app will not work in emulate ios.
Is there any fix for this? or am I doing something wrong?
The text was updated successfully, but these errors were encountered:
Spent 3 hours trying to get it to work in ionic. And since ionic doesn't have console like the browser console, it doesn't tell me that it couldn't find ng-token-auth.js
It is only when I installed https://www.genuitec.com/products/gapdebug/ that it tell me its missing ng-token-auth.js and it is because i have "/" in the path for the file in the script. By removing the "/" it worked
For some reason, when I put ng-token-auth into my new ionic app project, It would work in browser but when I emulate in ios it just get stuck at index.html
Note: I create a new ionic app just to make sure it wasn't because of all the crap I put into my actual app
At this point, even without adding anything else, my ionic app will not work in emulate ios.
Is there any fix for this? or am I doing something wrong?
The text was updated successfully, but these errors were encountered: