App Pro : passage à Expo SDK 57, identifiant eu.monespacepro.pro

Expo Go sur iOS n'accepte que le dernier SDK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tony AVERTY 2026-10-06 13:00:13 +02:00
parent 6725358a7c
commit 8624f4e332
6 changed files with 1599 additions and 2987 deletions

View file

@ -9,6 +9,7 @@ SEED_ADMIN_EMAIL=
SEED_ADMIN_PASSWORD= SEED_ADMIN_PASSWORD=
# URL publique de l'API (QR d'inscription, liens e-mail, images Google Wallet) — HTTPS en production # URL publique de l'API (QR d'inscription, liens e-mail, images Google Wallet) — HTTPS en production
# Production : PUBLIC_URL=https://api.monespacepro.eu (sous-domaine à confirmer)
PUBLIC_URL=http://localhost:3100 PUBLIC_URL=http://localhost:3100
# Apple Wallet — fichiers PEM hors du dépôt (voir docs/wallet.md) # Apple Wallet — fichiers PEM hors du dépôt (voir docs/wallet.md)
@ -28,4 +29,4 @@ SMTP_HOST=
SMTP_PORT=587 SMTP_PORT=587
SMTP_USER= SMTP_USER=
SMTP_PASS= SMTP_PASS=
MAIL_FROM="MonEspacePro <no-reply@exemple.fr>" MAIL_FROM="MonEspacePro <no-reply@monespacepro.eu>"

View file

@ -1,2 +0,0 @@
# Adresse de l API vue depuis le téléphone (même Wi-Fi que le PC)
EXPO_PUBLIC_API_URL=http://192.168.1.10:3100

6
pro/.gitignore vendored Normal file
View file

@ -0,0 +1,6 @@
# @generated expo-cli sync-2b81b286409207a5da26e14c78851eb30d8ccbdb
# The following patterns were generated by expo-cli
expo-env.d.ts
# @end expo-cli

View file

@ -10,21 +10,25 @@
"icon": "./assets/icon.png", "icon": "./assets/icon.png",
"ios": { "ios": {
"supportsTablet": false, "supportsTablet": false,
"bundleIdentifier": "dev.tonyaverty.mep.pro", "bundleIdentifier": "eu.monespacepro.pro",
"infoPlist": { "infoPlist": {
"NSCameraUsageDescription": "La caméra sert à scanner la carte de fidélité des clients.", "NSCameraUsageDescription": "La caméra sert à scanner la carte de fidélité des clients.",
"ITSAppUsesNonExemptEncryption": false "ITSAppUsesNonExemptEncryption": false
} }
}, },
"android": { "android": {
"package": "dev.tonyaverty.mep.pro", "package": "eu.monespacepro.pro",
"adaptiveIcon": { "adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png", "foregroundImage": "./assets/adaptive-icon.png",
"monochromeImage": "./assets/adaptive-monochrome.png", "monochromeImage": "./assets/adaptive-monochrome.png",
"backgroundColor": "#0E7A66" "backgroundColor": "#0E7A66"
}, },
"permissions": ["android.permission.CAMERA"], "permissions": [
"blockedPermissions": ["android.permission.RECORD_AUDIO"] "android.permission.CAMERA"
],
"blockedPermissions": [
"android.permission.RECORD_AUDIO"
]
}, },
"plugins": [ "plugins": [
"expo-router", "expo-router",
@ -44,7 +48,8 @@
"imageWidth": 160, "imageWidth": 160,
"backgroundColor": "#0E7A66" "backgroundColor": "#0E7A66"
} }
] ],
"expo-status-bar"
], ],
"experiments": { "experiments": {
"typedRoutes": true "typedRoutes": true

4522
pro/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -11,26 +11,26 @@
}, },
"dependencies": { "dependencies": {
"@expo-google-fonts/figtree": "^0.4.1", "@expo-google-fonts/figtree": "^0.4.1",
"expo": "^54.0.0", "expo": "^57.0.26",
"expo-camera": "~17.0.10", "expo-camera": "~57.0.6",
"expo-constants": "~18.0.14", "expo-constants": "~57.0.20",
"expo-font": "~14.0.12", "expo-font": "~57.0.4",
"expo-haptics": "~15.0.8", "expo-haptics": "~57.0.3",
"expo-linking": "~8.0.12", "expo-linking": "~57.0.11",
"expo-router": "~6.0.24", "expo-router": "~57.0.24",
"expo-secure-store": "~15.0.8", "expo-secure-store": "~57.0.4",
"expo-splash-screen": "~31.0.13", "expo-splash-screen": "~57.0.9",
"expo-status-bar": "~3.0.9", "expo-status-bar": "~57.0.1",
"expo-system-ui": "~6.0.9", "expo-system-ui": "~57.0.4",
"react": "19.1.0", "react": "19.2.3",
"react-dom": "^19.1.0", "react-dom": "19.2.3",
"react-native": "0.81.5", "react-native": "0.86.3",
"react-native-safe-area-context": "~5.6.0", "react-native-safe-area-context": "~5.7.0",
"react-native-screens": "~4.16.0", "react-native-screens": "~4.26.0",
"react-native-svg": "15.12.1" "react-native-svg": "15.15.4"
}, },
"devDependencies": { "devDependencies": {
"@types/react": "~19.1.10", "@types/react": "~19.2.4",
"typescript": "~5.9.2" "typescript": "~6.0.3"
} }
} }