fix(mobile): suppress Node.js url.parse() deprecation and document Apple session fix

- Add NODE_NO_WARNINGS=1 to all eas.json build profiles (development,
  preview, production) to suppress [DEP0169] url.parse() deprecation
  warnings emitted by EAS CLI when the build image's system Node is 22+
- Add NODE_NO_WARNINGS=1 env to both EAS Cloud Workflow jobs
  (.eas/workflows/create-builds.yml) with explanatory comments
- Fix outdated Node.js prerequisite in docs/MobileApp.md (was "18 or
  later", now "20.19.4 or later" with nvm guidance)
- Add troubleshooting sections in docs/MobileApp.md and mobile/README.md
  covering both the "Session expired Local session" error (Apple ID
  session expiry + App Store Connect API key recommendation) and the
  [DEP0169] Node.js deprecation warning

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-15 21:06:07 +00:00
parent db115a3c5d
commit dd02ff5677
4 changed files with 96 additions and 1 deletions
+8
View File
@@ -9,6 +9,10 @@ jobs:
build_android:
name: Build Android app
type: build
env:
# Suppress Node.js url.parse() deprecation warnings ([DEP0169]) emitted by
# EAS CLI when running on the build image's system Node 22+.
NODE_NO_WARNINGS: "1"
params:
platform: android
profile: production
@@ -16,6 +20,10 @@ jobs:
build_ios:
name: Build iOS app
type: build
env:
# Suppress Node.js url.parse() deprecation warnings ([DEP0169]) emitted by
# EAS CLI when running on the build image's system Node 22+.
NODE_NO_WARNINGS: "1"
params:
platform: ios
profile: production