Open dayitv89 opened 8 years ago
Yes this is true, NSKeyedArchiver does not delete data when an app is uninstalled. Other apps cannot access this data, but I agree it would be useful to have it clear on a fresh install.
@jbrophy17 Have a look to PR #102 for this.
User token stored in keychain and when app deleted and again install, ride sdk read user data from keychain and old user data is accessible. What if user token expires it request for re-auth?
User token can be deleted by the
TokenManager.deleteToken()
only.Why not store a variable in user-default for checking first run, and if the variable not found clean auth token, insist of show old user data.