Auto Backup for Apps
- Can I use backup feature and securely use Onegini Android SDK?
A quote from Android Developers site:
Since Android 6.0 (API 23), Android has offered the Auto Backup for Apps feature as a way for developers to quickly add backup functionality to their apps.
Auto Backup preserves app data by uploading it to the user’s Google Drive account. The amount of data is limited to 25MB per user of your app and there is no
charge for storing backup data.
Please note that beside the Auto Backup feature there's also a backup feature introduced in Android 2.2 (API 8). The previous backup feature allows the system
to backup app's local storage too, but not directly into the cloud. Both features are declared by
android:allowBackup flag of
application tag from
Can I use backup feature and securely use Onegini Android SDK?
Currently we highly recommend to disable this feature. If you won't disable the auto backup then (besides your app's data) all of the SDK data could be backed up into the Google Drive, which is a security issue. All sensitive data produced by the SDK is encrypted but still for a better protection that data should stay only locally on the device.
Example how to disable backup feature
<application android:allowBackup="false" tools:replace="android:allowBackup" >
We plan to make it possible to use the auto backup feature and we will announce that once it's done. The solution will ensure that none of the SDK files will be able to be backed up into a cloud.