diff options
| author | MohamedBassem <me@mbassem.com> | 2024-04-01 14:58:20 +0100 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-04-01 15:39:13 +0100 |
| commit | c53a0dd33041f1a21896e47b0a6fa49032f05600 (patch) | |
| tree | 675f45ed52a31d7e2af17a45cc8f1c1d64120a92 /apps/mobile | |
| parent | e4610d42e7a2b0c3fde3520ff93a6bda192f881e (diff) | |
| download | karakeep-c53a0dd33041f1a21896e47b0a6fa49032f05600.tar.zst | |
fix(mobile): Allow android/ios connections over http. #6
Diffstat (limited to 'apps/mobile')
| -rw-r--r-- | apps/mobile/app.json | 14 | ||||
| -rw-r--r-- | apps/mobile/package.json | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/apps/mobile/app.json b/apps/mobile/app.json index fec59de5..7c0f354e 100644 --- a/apps/mobile/app.json +++ b/apps/mobile/app.json @@ -18,6 +18,12 @@ "bundleIdentifier": "app.hoarder.hoardermobile", "config": { "usesNonExemptEncryption": false + }, + "infoPlist": { + "NSAppTransportSecurity": { + "NSAllowsArbitraryLoads": true, + "NSAllowsLocalNetworking": true + } } }, "android": { @@ -48,6 +54,14 @@ { "photosPermission": "The app access your photo gallary on your request to hoard them." } + ], + [ + "expo-build-properties", + { + "android": { + "usesCleartextTraffic": true + } + } ] ], "extra": { diff --git a/apps/mobile/package.json b/apps/mobile/package.json index 04fd8821..6ccd5622 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -19,6 +19,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.1.0", "expo": "~50.0.11", + "expo-build-properties": "^0.11.1", "expo-config-plugin-ios-share-extension": "^0.0.4", "expo-constants": "~15.4.5", "expo-dev-client": "^3.3.9", |
