From 6834f3ef1b3bce099e4f8f9f76cee94a2a635f64 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 14 Mar 2026 13:51:50 +0000 Subject: [PATCH] fix(mobile): add expo-dev-client, pin Node version, and fix EAS build config - Add expo-dev-client ~5.0.0 to dependencies (required for developmentClient:true profile) - Add node: 18.19.1 to all EAS build profiles (matches .nvmrc, silences version warning) - Add appVersionSource: local to cli section in eas.json (silences future-required warning) - Add ITSAppUsesNonExemptEncryption: false to ios.infoPlist in app.json (eliminates App Store Connect manual config warning) Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- mobile/app.json | 3 ++- mobile/eas.json | 10 +++++++--- mobile/package.json | 1 + 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/mobile/app.json b/mobile/app.json index 2b345400..63c84040 100644 --- a/mobile/app.json +++ b/mobile/app.json @@ -18,7 +18,8 @@ "NSCameraUsageDescription": "DocuElevate uses the camera to capture documents for upload.", "NSPhotoLibraryUsageDescription": "DocuElevate accesses your photo library to select documents for upload.", "NSPhotoLibraryAddUsageDescription": "DocuElevate saves scanned documents to your photo library.", - "UIBackgroundModes": ["fetch", "remote-notification"] + "UIBackgroundModes": ["fetch", "remote-notification"], + "ITSAppUsesNonExemptEncryption": false }, "buildNumber": "1" }, diff --git a/mobile/eas.json b/mobile/eas.json index 7917081e..66750596 100644 --- a/mobile/eas.json +++ b/mobile/eas.json @@ -1,20 +1,24 @@ { "cli": { - "version": ">= 5.9.0" + "version": ">= 5.9.0", + "appVersionSource": "local" }, "build": { "development": { "developmentClient": true, - "distribution": "internal" + "distribution": "internal", + "node": "18.19.1" }, "preview": { "distribution": "internal", + "node": "18.19.1", "ios": { "simulator": false } }, "production": { - "autoIncrement": true + "autoIncrement": true, + "node": "18.19.1" } }, "submit": { diff --git a/mobile/package.json b/mobile/package.json index f03c0a93..7199cdef 100644 --- a/mobile/package.json +++ b/mobile/package.json @@ -24,6 +24,7 @@ "@react-navigation/native-stack": "^7.2.0", "expo": "~54.0.0", "expo-auth-session": "~7.0.10", + "expo-dev-client": "~5.0.0", "expo-camera": "~17.0.10", "expo-constants": "~18.0.13", "expo-crypto": "~15.0.8",