fix(app): bound Android provider snapshot storage (#3234)

Android AsyncStorage's 6 MiB SQLite ceiling was exhausted by per-workspace provider snapshots with no eviction. Raise the native cap to 10 MiB and bound snapshots to 4 MiB with indexed eviction, clearing legacy unindexed data without scanning payloads on every save.
This commit is contained in:
Mohamed Boudra
2026-08-11 22:00:21 +02:00
committed by GitHub
parent 40bdb9a043
commit 7b167784d7
5 changed files with 678 additions and 42 deletions
+2
View File
@@ -1,6 +1,7 @@
const fs = require("node:fs");
const path = require("node:path");
const pkg = require("./package.json");
const withAndroidAsyncStorageSize = require("./plugins/with-android-async-storage-size");
const withAndroidProfileable = require("./plugins/with-android-profileable");
const withFdroidAutolinking = require("./plugins/with-fdroid-autolinking");
const { getNativeReleaseVersion } = require("./native-release-version");
@@ -138,6 +139,7 @@ export default {
},
plugins: [
"expo-router",
[withAndroidAsyncStorageSize, 10],
...buildProfile.cameraPlugins,
[
"expo-splash-screen",