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:
parent
64b2372a13
commit
310f20e0a3
4 changed files with 979 additions and 844 deletions
|
|
@ -28,5 +28,6 @@ export default defineConfig({
|
|||
},
|
||||
server: {
|
||||
port: 3000,
|
||||
host: true,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
10
package.json
10
package.json
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
1811
pnpm-lock.yaml
generated
1811
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -23,4 +23,3 @@ catalog:
|
|||
postgres: ^3.4.9
|
||||
"@types/node": ^22.0.0
|
||||
|
||||
nodeLinker: hoisted
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue