Dataskop breaks new scientific ground developing mobile, situational embedded data visualization methods to combine physical environmental and abstract data representation.
Closing the app during demo mode incorrectly saves the admin token to the player prefs which then gets used the next time you start the app to auto login.
To Reproduce
Steps to reproduce the behavior:
Use Demo Mode
Exit App without Logging Out
Reopen App
Normal Scene Loads
Expected behavior
After exiting app during demo mode clear PlayerPrefs to get rid of admin token.
Additional context
A better solution would be to have a real demo user from the backend so it can be better to distinguish between users privileges and intentions. @victoradriel
Describe the bug
Closing the app during demo mode incorrectly saves the admin token to the player prefs which then gets used the next time you start the app to auto login.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After exiting app during demo mode clear PlayerPrefs to get rid of admin token.
Additional context
A better solution would be to have a real demo user from the backend so it can be better to distinguish between users privileges and intentions. @victoradriel