Allow cleartext HTTP on Android for dev server

Android 9+ blocks cleartext HTTP by default. Enable usesCleartextTraffic
so the emulator can reach the Journal dev server at http://10.0.2.2:3000.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-04-15 01:31:45 +02:00
parent 64b2372a13
commit 310f20e0a3
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
4 changed files with 979 additions and 844 deletions

View file

@ -29,7 +29,9 @@
"picomatch@>=4.0.0 <4.0.4": "4.0.4",
"brace-expansion@>=4.0.0 <5.0.5": "5.0.5",
"path-to-regexp@<0.1.13": "0.1.13",
"lodash@<4.18.1": "4.18.1"
"lodash@<4.18.1": "4.18.1",
"react": "catalog:",
"react-dom": "catalog:"
},
"onlyBuiltDependencies": [
"@sentry/cli",
@ -75,5 +77,11 @@
"typescript-eslint": "^8.58.1",
"vite": "catalog:",
"vitest": "^4.1.4"
},
"version": "1.0.0",
"dependencies": {
"expo": "~55.0.15",
"react": "19.2.0",
"react-native": "0.83.4"
}
}