Skip Navigation

Setting allowBackup=false for production apps, use BackupHelper

You can back up your
BlackBerry Dynamics
-based apps while you are developing them, but for the production build of your apps, you should set
allowBackup=false
in AndroidManifest.xml to prevent backups. This is to keep your data secure. For example, after restoring a backup made to another device, your app containers might be in an unlocked state, which exposes the data to risk, or the app data might not be available at all.
BlackBerry Dynamics
backup and restore uses the Android BackupHelper model to backup data into the cloud. Our SecureStore sample app (see Sample apps) demonstrates the code and
AndroidManifest.xml
changes required in the app to make this happen. You should use the BackupHelper because it is potentially more secure than other mechanisms.