Best Practice for C...
 
Notifications
Clear all

Best Practice for Clearing Login Info Before Submitting App

2 Posts
2 Users
0 Likes
547 Views
(@dl-89603)
Posts: 1
New Member
Topic starter
 

Hello!

I'm using Remember Credentials. What's the best/cleanest/safest way to remove test login info so that it doesn't carry over to my build when I submit to the app store? I see a few ways to do it, just wondering if you recommend one over the other and if there is anything else that needs to be done other clear the username and password. Thanks for your help!

 
Posted : 22/07/2019 7:41 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

The credentials are stored in PlayerPrefs, the keys are in User.cs (const AUTOLOGIN_*). I usually create an editor script to handle the builds (because I'm too lazy to switch platforms and build manually) which clear PlayerPrefs before build (or delete only the keys I need to reset).

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 23/07/2019 2:58 pm
Share: