Hi all,
I decided to rewrite my existing jQuery Mobile app using Ionic. I love it and feel excited about it.
But I am facing an issue and have wasted nearly 4 days in finding a solution. If I could not find a solution, I might need to drop using Ionic which I don’t want.
I will try to explain my problem so that experts can look on it.
I am using Parse to handle users and it works great. The problem i am facing is that, my code is not recognizing even if the user has successfully registered. I have 2 DIV elements and I show any on of them if the user is a guest or registered user.
But I am not able to make changes to view after login so that users don’t see the login page again. Similarly if users logout, they should see the “sign-in” page. But these are not happening. I might be missing something simple.
When I refresh the page manually in browser, I can see the actual expected page sections.
I have provided my entire project in the below GitHub code. Please have a look and let me know how silly I am in programming.
https://github.com/Purus/IonicTest/
Test Login for app: a@a.com
Password: a