From becadc0bb22cc6d156a21ca1f06ea258ea81124a Mon Sep 17 00:00:00 2001 From: Nuxgrid Date: Sun, 12 Jul 2026 11:23:56 +0200 Subject: [PATCH] chore: build for maj --- mobile/.gitignore | 1 + mobile/app.json | 119 ++++++++++++++++++----------------- mobile/certs/certificate.pem | 18 ++++++ mobile/eas.json | 4 +- 4 files changed, 84 insertions(+), 58 deletions(-) create mode 100644 mobile/certs/certificate.pem diff --git a/mobile/.gitignore b/mobile/.gitignore index d914c328..1cc608e1 100644 --- a/mobile/.gitignore +++ b/mobile/.gitignore @@ -29,6 +29,7 @@ yarn-error.* # macOS .DS_Store *.pem +!certs/certificate.pem # local env files .env*.local diff --git a/mobile/app.json b/mobile/app.json index 33c634de..3af0c5bd 100644 --- a/mobile/app.json +++ b/mobile/app.json @@ -1,60 +1,67 @@ { - "expo": { - "name": "Milieu Nantais", - "slug": "frontend-client", - "version": "1.0.2", - "orientation": "portrait", - "icon": "./assets/icon.png", - "userInterfaceStyle": "dark", - "newArchEnabled": true, - "splash": { - "image": "./assets/icon.png", - "resizeMode": "contain", - "backgroundColor": "#000000" - }, - "ios": { - "supportsTablet": true, - "bundleIdentifier": "com.uberstup.clientpanel" - }, - "android": { - "adaptiveIcon": { - "foregroundImage": "./assets/icon.png", - "backgroundColor": "#000000" - }, - "edgeToEdgeEnabled": true, - "softwareKeyboardLayoutMode": "pan", - "predictiveBackGestureEnabled": false, - "package": "com.uberstup.clientpanel", - "versionCode": 1, - "permissions": ["android.permission.VIBRATE"] - }, - "web": { - "favicon": "./assets/icon.png" - }, - "plugins": [ - "expo-font", - "expo-router", - [ - "expo-build-properties", - { - "android": { - "usesCleartextTraffic": true - } - } - ] - ], - "extra": { - "eas": { - "projectId": "110d06c8-a8d5-4b3c-b262-0d4d7509ae9d" - }, - "router": {} - }, - "owner": "xor290", - "runtimeVersion": { - "policy": "appVersion" - }, - "updates": { - "url": "https://u.expo.dev/110d06c8-a8d5-4b3c-b262-0d4d7509ae9d" + "expo": { + "name": "Milieu Nantais", + "slug": "frontend-client", + "version": "1.0.2", + "orientation": "portrait", + "icon": "./assets/icon.png", + "userInterfaceStyle": "dark", + "newArchEnabled": true, + "splash": { + "image": "./assets/icon.png", + "resizeMode": "contain", + "backgroundColor": "#000000" + }, + "ios": { + "supportsTablet": true, + "bundleIdentifier": "com.uberstup.clientpanel" + }, + "android": { + "adaptiveIcon": { + "foregroundImage": "./assets/icon.png", + "backgroundColor": "#000000" + }, + "edgeToEdgeEnabled": true, + "softwareKeyboardLayoutMode": "pan", + "predictiveBackGestureEnabled": false, + "package": "com.uberstup.clientpanel", + "versionCode": 1, + "permissions": [ + "android.permission.VIBRATE" + ] + }, + "web": { + "favicon": "./assets/icon.png" + }, + "plugins": [ + "expo-font", + "expo-router", + [ + "expo-build-properties", + { + "android": { + "usesCleartextTraffic": true + } } + ] + ], + "extra": { + "eas": { + "projectId": "110d06c8-a8d5-4b3c-b262-0d4d7509ae9d" + }, + "router": {} + }, + "owner": "xor290", + "runtimeVersion": { + "policy": "appVersion" + }, + "updates": { + "url": "https://u.expo.dev/110d06c8-a8d5-4b3c-b262-0d4d7509ae9d", + "codeSigningCertificate": "./certs/certificate.pem", + "codeSigningMetadata": { + "keyid": "main", + "alg": "rsa-v1_5-sha256" + } } + } } diff --git a/mobile/certs/certificate.pem b/mobile/certs/certificate.pem new file mode 100644 index 00000000..a53e9f6b --- /dev/null +++ b/mobile/certs/certificate.pem @@ -0,0 +1,18 @@ +-----BEGIN CERTIFICATE----- +MIIC9zCCAd+gAwIBAgIJOs/S1ceI7Zq6MA0GCSqGSIb3DQEBCwUAMCUxIzAhBgNV +BAMTGk1pbGlldSBOYW50YWlzIC8gVWJlciBTdHVwMB4XDTI2MDcxMTIwNDI1MloX +DTM2MDcxMTIwNDI1MlowJTEjMCEGA1UEAxMaTWlsaWV1IE5hbnRhaXMgLyBVYmVy +IFN0dXAwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQClkcj0h9gBuq9z +FVT1UwhBto2sTZglO3iwsgyPWx7I7twyY+kUU57rgHzI7YGieX599xM4oGjau8r7 +PjPK1160djTuRa9bWXnYBnotaU0Hp3rOicxbMygCGQoZtDqxRUMo4HxrBSYnZaVo +VYPqs/utSTA43El7SrzJddxBZK4WbJbfgdXDYrdeLz4Syrdx8DXBnCYmmmHhpQsE +orykYCUi7qd0CJi6kZGVOgR+Hq0B581DqnUA2H3iQWdk/0EZf6PN/gR0f9YlH3oN +N8tYLo7TOScSmUNJ5T2hFEuWuS/O6JKUI6a7MpIOv7XYxNDYWT/Ae9QNT8GcqVcW +39j2xSvvAgMBAAGjKjAoMA4GA1UdDwEB/wQEAwIHgDAWBgNVHSUBAf8EDDAKBggr +BgEFBQcDAzANBgkqhkiG9w0BAQsFAAOCAQEAj+SMnO7/IFajlg6Uo6aJotM8vdPp +4Dgi18DURZ0evUsxm4lLHWQ//6zF8jVaqPwsKA9IuPW+8O8gC8iwCY3YfjbaC5Ad +vPlvpzU6bvaA//utLVVUlfkk87vs5QotJkshoImJJoDPfO/Q1yv1qrMHXPnGyyzV +K0K3rYeXVYMDeJ9y2742D+MEg0Zse7xmNcde2z5aUuFlK7ORBs03FohD2U5zUqUg +jaia/wN4lIMCdJJmoPRUydbLJ8yVns9whFxXU1eGqaFf27jBdI/nPMVmO1YPsxnk +VvOiP6n1T+aZ7qaeOY9hsSmJ9FBeh3pOtRrdxmA8wBxD3zAORfLl89mjsw== +-----END CERTIFICATE----- diff --git a/mobile/eas.json b/mobile/eas.json index 2590c902..56aa0d1a 100644 --- a/mobile/eas.json +++ b/mobile/eas.json @@ -23,7 +23,7 @@ }, "env": { "EXPO_PUBLIC_API_URL": "https://uber-demo.club", - "EXPO_PUBLIC_UPDATE_URL": "https://ota.uber-stup.club" + "EXPO_PUBLIC_UPDATE_URL": "https://ota.uber-stup.club/api/manifest" }, "channel": "pre-prod" }, @@ -35,7 +35,7 @@ }, "env": { "EXPO_PUBLIC_API_URL": "https://mln-uber.club", - "EXPO_PUBLIC_UPDATE_URL": "https://ota.uber-stup.club" + "EXPO_PUBLIC_UPDATE_URL": "https://ota.uber-stup.club/api/manifest" }, "channel": "production" }