Skip to content

Commit 695c9d7

Browse files
committed
fix: add allowBackup:false to expo app config
Expo defines `android.allowBackup` as `true` by default. https://docs.expo.dev/versions/latest/config/app/#allowbackup This should be opt-in behavior, imho. Setting this value to false will prevent apps from automatically backing up the app’s documents directory to google drive on the user’s behalf. Developers should have to opt into this behavior by manually changing this to true or removing the value from the `app.json` file.
1 parent ed093f9 commit 695c9d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

boilerplate/app.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"adaptiveIcon": {
2424
"foregroundImage": "./assets/images/app-icon-android-adaptive-foreground.png",
2525
"backgroundImage": "./assets/images/app-icon-android-adaptive-background.png"
26-
}
26+
},
27+
"allowBackup": false
2728
},
2829
"ios": {
2930
"icon": "./assets/images/app-icon-ios.png",

0 commit comments

Comments
 (0)