OutSystems Forge 日本語データベース

allowBackup Android Plugin

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2018-05-04 1.0.1 Miguel 'Kelter' Antunes All All Plug-ins
androidアプリケーションのallowBackupプロパティを設定できるようにする。
Android 6.0(APIレベル23)以上をターゲットとするAndroidアプリケーションは、自動的に自動バックアップに参加します。 これは、バックアップを有効または無効にするandroid:allowBackup属性が原因です。 このプロパティは、AndroidManifest.xmlファイルから省略されているため、デフォルトでtrueに設定されています。 <アプリケーション... アンドロイド:allowBackup = "true"> </ app> これにより、アプリケーションの再インストール時に自動的にリストアされるので、localStorageをクリアしようとすると問題が発生する可能性があります。 Androidでこのデフォルトの動作をしたくない場合は、自動バックアップを無効にすることができます。 あなたのプロジェクトにallowBackup Android Pluginを含めてください。

[Overview]
To allow you to set the allowBackup property of android application.
[Detail]
Any Android applications that target Android 6.0 (API level 23) or higher automatically participate in Auto Backup. This is because of the android:allowBackup attribute, which enables/disables backup. The property defaults to true in outystems-android projects as it is omitted from the AndroidManifest.xml file. <application ... android:allowBackup="true"> </app> This may cause you an issues if you are trying to clear localStorage as it will automatically be restored when the app is re-installed. If you don't want this default behavior on Android you can disable Auto Backup. Include allowBackup Android Plugin in your project.
戻る