question

Brent-7shifts avatar image
Brent-7shifts asked ·

Clients keep getting logged out from our app on clover devices

Users who have downloaded our Time Clocking application via the marketplace on to their clover devices are reporting issues with login/authentication! Every day, they need to re-enter a username and password in to our application. Our application should be saving the users creds but this data seems to be erased.

Questions:
Should we be trying to store this information in a different way so that our users are not being prompted to re-enter it every day?
Does some function run every night that would remove or reset stored/shared preferences or data on our APK?
App MarketAuth
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jeffrey Blattman avatar image
Jeffrey Blattman answered ·
We don't do anything with regard to backup or restore of shared preferences. If you want to be sure you can disable that in the manifest see https://developer.android.com/guide/topics/manifest/application-element#allowbackup.

Users can clear your app data, but it's unlikely to be happening widely.

I'd suggest you log, somewhere externally a dump of your shared preferences when this problem happens to understand if they are really cleared.
Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community