From fbd12ea345aade5f898f0e6c5d0d6d5954451a81 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sat, 15 Nov 2025 00:50:02 +0000 Subject: fix(mobile): fix app memory page size compatibility (#2135) * fix(mobile): Add 16KB memory page size support for Android Updates to support Google Play's requirement for 16KB memory page sizes: - Update Expo SDK from 53.0.11 to 53.0.19 - Update expo-image from 2.2.0 to 2.4.0 - Update React Native from 0.79.3 to 0.79.5 - Configure expo-build-properties with: - compileSdkVersion: 35 - targetSdkVersion: 35 - buildToolsVersion: 34.0.0 - ndkVersion: 27.1.12297006 (r27 with 16KB support) These changes ensure all native libraries are compiled with proper alignment for 16KB page sizes as required by Android 15+ devices. Fixes Google Play rejection: "Your app does not support 16 KB memory page sizes" * some fixes * more fixes --------- Co-authored-by: Claude --- apps/mobile/app.config.js | 6 ++++-- apps/mobile/package.json | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'apps') diff --git a/apps/mobile/app.config.js b/apps/mobile/app.config.js index 13a47f29..5385b2d5 100644 --- a/apps/mobile/app.config.js +++ b/apps/mobile/app.config.js @@ -35,7 +35,7 @@ export default { NSAllowsArbitraryLoads: true, }, }, - buildNumber: "27", + buildNumber: "28", }, android: { adaptiveIcon: { @@ -54,7 +54,7 @@ export default { }, }, package: "app.hoarder.hoardermobile", - versionCode: 27, + versionCode: 28, }, plugins: [ "./plugins/trust-local-certs.js", @@ -89,6 +89,8 @@ export default { { android: { usesCleartextTraffic: true, + targetSdkVersion: 35, + ndkVersion: "27.1.12297006", }, }, ], diff --git a/apps/mobile/package.json b/apps/mobile/package.json index e363032a..e8398513 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -26,7 +26,7 @@ "@tanstack/react-query": "5.90.2", "class-variance-authority": "^0.7.0", "clsx": "^2.1.0", - "expo": "~53.0.11", + "expo": "~53.0.19", "expo-build-properties": "^0.14.6", "expo-checkbox": "^4.1.4", "expo-clipboard": "^7.1.4", @@ -34,7 +34,7 @@ "expo-dev-client": "^5.2.0", "expo-file-system": "~18.1.11", "expo-haptics": "^14.1.4", - "expo-image": "^2.2.0", + "expo-image": "^2.4.0", "expo-image-picker": "^16.1.4", "expo-linking": "~7.1.5", "expo-navigation-bar": "^4.2.5", @@ -48,7 +48,7 @@ "lucide-react-native": "^0.513.0", "nativewind": "^4.1.23", "react": "^19.1.0", - "react-native": "0.79.3", + "react-native": "0.79.5", "react-native-awesome-slider": "^2.5.3", "react-native-blob-util": "^0.21.2", "react-native-gesture-handler": "~2.24.0", -- cgit v1.2.3-70-g09d2