Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

chore(mobile): enable cleartext traffic for android (#1388)

Corentin Thomasset81996107f330
diff --git a/apps/mobile/app.json b/apps/mobile/app.json
index a7a2a9b0..1cd15499 100644
--- a/apps/mobile/app.json
+++ b/apps/mobile/app.json
@@ -30,6 +30,14 @@
},
"plugins": [
"expo-router",
+ [
+ "expo-build-properties",
+ {
+ "android": {
+ "usesCleartextTraffic": true
+ }
+ }
+ ],
[
"expo-splash-screen",
{
diff --git a/apps/mobile/package.json b/apps/mobile/package.json
index 0d3218dc..912879db 100644
--- a/apps/mobile/package.json
+++ b/apps/mobile/package.json
@@ -25,6 +25,7 @@
"@tanstack/react-query": "^5.90.7",
"better-auth": "catalog:",
"expo": "~54.0.35",
+ "expo-build-properties": "~1.0.10",
"expo-constants": "~18.0.13",
"expo-document-picker": "^14.0.8",
"expo-file-system": "^19.0.23",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 55587313..22950e2e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -189,6 +189,9 @@ importers:
expo:
specifier: ~54.0.35
+ expo-build-properties:
+ specifier: ~1.0.10
+ version: 1.0.10([email protected])
expo-constants:
specifier: ~18.0.13
@@ -333,7 +336,7 @@ importers:
version: 8.21.3([email protected])
better-auth:
specifier: 'catalog:'
class-variance-authority:
specifier: ^0.7.1
version: 0.7.1
@@ -490,7 +493,7 @@ importers:
better-auth:
specifier: 'catalog:'
busboy:
specifier: ^1.6.0
version: 1.6.0
@@ -6429,6 +6432,11 @@ packages:
react: '*'
react-native: '*'
+ resolution: {integrity: sha512-mFCZbrbrv0AP5RB151tAoRzwRJelqM7bCJzCkxpu+owOyH+p/rFC/q7H5q8B9EpVWj8etaIuszR+gKwohpmu1Q==}
+ peerDependencies:
+ expo: '*'
+
resolution: {integrity: sha512-FnZn12E1dRYKDHlAdIyNFhBurKTS3F9CrfrBDJI5m3D7U17KBHMQ6JEfYlSj7LG7t+Ulr+IKaj58L1k5gBwTcQ==}
peerDependencies:
@@ -16289,6 +16297,36 @@ snapshots:
- '@cloudflare/workers-types'
- '@opentelemetry/api'
+ dependencies:
+ '@better-auth/memory-adapter': 1.6.11(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])
+ '@better-auth/mongo-adapter': 1.6.11(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])
+ '@better-auth/prisma-adapter': 1.6.11(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])
+ '@better-auth/telemetry': 1.6.11(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])(@better-fetch/[email protected])
+ '@better-auth/utils': 0.4.0
+ '@better-fetch/fetch': 1.1.21
+ '@noble/ciphers': 2.2.0
+ '@noble/hashes': 2.0.1
+ better-call: 1.3.5([email protected])
+ defu: 6.1.4
+ jose: 6.2.3
+ kysely: 0.28.17
+ nanostores: 1.3.0
+ zod: 4.4.3
+ optionalDependencies:
+ drizzle-kit: 0.31.10
+ drizzle-orm: 0.45.2(@libsql/[email protected])([email protected])
+ react: 19.2.7
+ react-dom: 19.2.7([email protected])
+ solid-js: 1.9.13
+ transitivePeerDependencies:
+ - '@cloudflare/workers-types'
+ - '@opentelemetry/api'
+
dependencies:
@@ -17344,6 +17382,12 @@ snapshots:
- typescript
optional: true
+ dependencies:
+ ajv: 8.17.1
+ semver: 7.8.5
+
dependencies:
'@expo/config': 12.0.13