From 6e0b13a0d682d5e8e046ea0c2ca35e07730685b8 Mon Sep 17 00:00:00 2001 From: DarynaBb Date: Tue, 24 Nov 2026 08:53:24 +0100 Subject: [PATCH 01/12] chore(app): add expo-secure-store and API config --- mobile/.env.example | 1 + mobile/app.json | 3 ++- mobile/package-lock.json | 10 ++++++++++ mobile/package.json | 1 + mobile/src/api/config.ts | 5 +++++ 5 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 mobile/.env.example create mode 100644 mobile/src/api/config.ts diff --git a/mobile/.env.example b/mobile/.env.example new file mode 100644 index 0000000..f25a2d6 --- /dev/null +++ b/mobile/.env.example @@ -0,0 +1 @@ +EXPO_PUBLIC_API_URL=http://YOUR-COMPUTER-IP:8000 \ No newline at end of file diff --git a/mobile/app.json b/mobile/app.json index a42b89a..780b287 100644 --- a/mobile/app.json +++ b/mobile/app.json @@ -32,7 +32,8 @@ "image": "./assets/images/splash-icon.png", "imageWidth": 76 } - ] + ], + "expo-secure-store" ], "experiments": { "typedRoutes": true, diff --git a/mobile/package-lock.json b/mobile/package-lock.json index f5885da..f41a99d 100644 --- a/mobile/package-lock.json +++ b/mobile/package-lock.json @@ -19,6 +19,7 @@ "expo-image": "~58.0.18", "expo-linking": "~58.0.16", "expo-router": "~58.0.30", + "expo-secure-store": "~58.0.3", "expo-splash-screen": "~58.0.13", "expo-status-bar": "~58.0.4", "expo-symbols": "~58.0.4", @@ -6009,6 +6010,15 @@ } } }, + "node_modules/expo-secure-store": { + "version": "58.0.3", + "resolved": "https://registry.npmjs.org/expo-secure-store/-/expo-secure-store-58.0.3.tgz", + "integrity": "sha512-RpubZfqJREEcwKbx3HFoWbtDd31t+yESMj7Ei5/mGQp5vViwUBzL4nUCZRLFyt+O690mT8We7dDtIUZeIk6LbQ==", + "license": "MIT", + "peerDependencies": { + "expo": "*" + } + }, "node_modules/expo-server": { "version": "58.0.6", "resolved": "https://registry.npmjs.org/expo-server/-/expo-server-58.0.6.tgz", diff --git a/mobile/package.json b/mobile/package.json index 0bb753c..84b5bb8 100644 --- a/mobile/package.json +++ b/mobile/package.json @@ -14,6 +14,7 @@ "expo-image": "~58.0.18", "expo-linking": "~58.0.16", "expo-router": "~58.0.30", + "expo-secure-store": "~58.0.3", "expo-splash-screen": "~58.0.13", "expo-status-bar": "~58.0.4", "expo-symbols": "~58.0.4", diff --git a/mobile/src/api/config.ts b/mobile/src/api/config.ts new file mode 100644 index 0000000..8594629 --- /dev/null +++ b/mobile/src/api/config.ts @@ -0,0 +1,5 @@ +export const API_URL = process.env.EXPO_PUBLIC_API_URL; + +if (!API_URL) { + throw new Error("EXPO_PUBLIC_API_URL is not set. Create mobile/.env"); +} \ No newline at end of file From 0995967bcbb354c1304150161d79e6f5c16309c8 Mon Sep 17 00:00:00 2001 From: DarynaBb Date: Tue, 24 Nov 2026 09:56:33 +0100 Subject: [PATCH 02/12] fix(app): fix tab icon color types --- mobile/src/app/(tabs)/_layout.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mobile/src/app/(tabs)/_layout.tsx b/mobile/src/app/(tabs)/_layout.tsx index 522bf82..6c41533 100644 --- a/mobile/src/app/(tabs)/_layout.tsx +++ b/mobile/src/app/(tabs)/_layout.tsx @@ -18,7 +18,7 @@ export default function TabLayout() { options={{ title: 'Start', tabBarIcon: ({ color, size }) => ( - + ), }} /> @@ -27,7 +27,7 @@ export default function TabLayout() { options={{ title: 'Belege', tabBarIcon: ({ color, size }) => ( - + ), }} /> @@ -54,7 +54,7 @@ export default function TabLayout() { options={{ title: 'Fristen', tabBarIcon: ({ color, size }) => ( - + ), }} /> @@ -63,7 +63,7 @@ export default function TabLayout() { options={{ title: 'Profil', tabBarIcon: ({ color, size }) => ( - + ), }} /> From 7a4664c8d694ce947c86ca5b216c9b74bda915a1 Mon Sep 17 00:00:00 2001 From: DarynaBb Date: Tue, 24 Nov 2026 10:00:32 +0100 Subject: [PATCH 03/12] feat(app): add API client with error handling --- mobile/src/api/client.ts | 65 ++++++++++++++++++++++++++++++++++++++++ mobile/src/api/config.ts | 4 +-- 2 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 mobile/src/api/client.ts diff --git a/mobile/src/api/client.ts b/mobile/src/api/client.ts new file mode 100644 index 0000000..40371d0 --- /dev/null +++ b/mobile/src/api/client.ts @@ -0,0 +1,65 @@ +import { API_URL } from './config'; + +type RequestOptions = { + method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'; + body?: unknown; + token?: string | null; +}; + +export class ApiError extends Error { + status: number; + + constructor(status: number, message: string) { + super(message); + this.status = status; + } +} + +function getErrorMessage(data: unknown, status: number): string { + if (data && typeof data === 'object' && 'detail' in data) { + const detail = (data as { detail: unknown }).detail; + + if (typeof detail === 'string') { + return detail; + } + + if (Array.isArray(detail) && detail.length > 0) { + const first = detail[0] as { msg?: string }; + if (first.msg) { + return first.msg; + } + } + } + return `Request failed with status ${status}`; +} + +export async function apiRequest(path: string, options: RequestOptions = {}): Promise { + const headers: Record = { + 'Content-Type': 'application/json', + }; + + if (options.token) { + headers.Authorization = `Bearer ${options.token}`; + } + + let response: Response; + + try { + response = await fetch(`${API_URL}${path}`, { + method: options.method ?? 'GET', + headers, + body: options.body !== undefined ? JSON.stringify(options.body) : undefined, + }); + } catch { + // Network error: no Wi-Fi, wrong IP, backend not running + throw new ApiError(0, 'Server is not reachable. Check your connection'); + } + + const data = await response.json().catch(() => null); + + if (!response.ok) { + throw new ApiError(response.status, getErrorMessage(data, response.status)); + } + + return data as T; +} diff --git a/mobile/src/api/config.ts b/mobile/src/api/config.ts index 8594629..e42a8f5 100644 --- a/mobile/src/api/config.ts +++ b/mobile/src/api/config.ts @@ -1,5 +1,5 @@ export const API_URL = process.env.EXPO_PUBLIC_API_URL; if (!API_URL) { - throw new Error("EXPO_PUBLIC_API_URL is not set. Create mobile/.env"); -} \ No newline at end of file + throw new Error('EXPO_PUBLIC_API_URL is not set. Create mobile/.env'); +} From d35046538bed673bdae3249a0b7bad1250f2e807 Mon Sep 17 00:00:00 2001 From: DarynaBb Date: Tue, 24 Nov 2026 10:02:39 +0100 Subject: [PATCH 04/12] chore(app): update expo packages --- mobile/app.json | 4 +- mobile/package-lock.json | 585 +++++++++++++++++---------------------- mobile/package.json | 16 +- 3 files changed, 269 insertions(+), 336 deletions(-) diff --git a/mobile/app.json b/mobile/app.json index 780b287..9b9cf98 100644 --- a/mobile/app.json +++ b/mobile/app.json @@ -33,7 +33,9 @@ "imageWidth": 76 } ], - "expo-secure-store" + "expo-secure-store", + "expo-status-bar", + "expo-web-browser" ], "experiments": { "typedRoutes": true, diff --git a/mobile/package-lock.json b/mobile/package-lock.json index f41a99d..41a51e4 100644 --- a/mobile/package-lock.json +++ b/mobile/package-lock.json @@ -8,23 +8,23 @@ "name": "mobile", "version": "1.0.0", "dependencies": { - "@expo/ui": "~58.0.27", + "@expo/ui": "~58.0.29", "@expo/vector-icons": "^15.0.2", "@react-native-async-storage/async-storage": "2.2.0", - "expo": "~58.0.23", + "expo": "~58.0.26", "expo-constants": "~58.0.15", "expo-device": "~58.0.5", "expo-font": "~58.0.11", "expo-glass-effect": "~58.0.5", "expo-image": "~58.0.18", - "expo-linking": "~58.0.16", - "expo-router": "~58.0.30", + "expo-linking": "~58.0.17", + "expo-router": "~58.0.32", "expo-secure-store": "~58.0.3", - "expo-splash-screen": "~58.0.13", - "expo-status-bar": "~58.0.4", - "expo-symbols": "~58.0.4", + "expo-splash-screen": "~58.0.14", + "expo-status-bar": "~58.0.5", + "expo-symbols": "~58.0.5", "expo-system-ui": "~58.0.7", - "expo-web-browser": "~58.0.7", + "expo-web-browser": "~58.1.0", "react": "19.3.0", "react-dom": "19.3.0", "react-native": "0.88.1", @@ -608,12 +608,12 @@ } }, "node_modules/@babel/plugin-transform-class-static-block": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.29.7.tgz", - "integrity": "sha512-kibJgmEdX2iMwsHY2tSZNDgj8PwIlCQz7FK9KuGKO8zsuoUwSEhoNnNVp/emKWrbY4HeO6kkXfdMqRKKKXBm2A==", + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.29.14.tgz", + "integrity": "sha512-4rr6WKSu9DzMYpcTlbjHw6hFRk0Gkys3D54mqNE4tOyYQFOTrf3RBhntYH62ec/fbvgGEVATh5cqGZjM2Yc3gw==", "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.29.7", + "@babel/helper-create-class-features-plugin": "^7.29.13", "@babel/helper-plugin-utils": "^7.29.7" }, "engines": { @@ -660,9 +660,9 @@ } }, "node_modules/@babel/plugin-transform-export-namespace-from": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.29.7.tgz", - "integrity": "sha512-24B2nOy2TeJSMheqwPD4DDQOV/elLSIlKxjZt4i05H5AgdPdWR3n18HnNrcJ+j76WJd9gbwb9jPjNYUy6RautA==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.29.15.tgz", + "integrity": "sha512-wUo8dEPcDN/gO5/ZoNLDcAFqbJ//idBuMpprfa7NAZ6+Y3PRShTNLcgnKnBAW6vnEDMHiPDwDi62mM90qz7mcQ==", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" @@ -1344,9 +1344,9 @@ } }, "node_modules/@expo-google-fonts/material-symbols": { - "version": "0.4.53", - "resolved": "https://registry.npmjs.org/@expo-google-fonts/material-symbols/-/material-symbols-0.4.53.tgz", - "integrity": "sha512-SgCSm8rUYvwy+5ABvwlV/h7xbJkWAsenChSKlUwMLVyEw/QoUon055QixCOtGCjrSRWqFGDvR0ghVa5nA2OkIg==", + "version": "0.4.54", + "resolved": "https://registry.npmjs.org/@expo-google-fonts/material-symbols/-/material-symbols-0.4.54.tgz", + "integrity": "sha512-BcwBgi5EX5sA3sCzwPFM9Cp2squg3ugfw+e3OKBvWkZs9bEDkO0QiTeX8AlezS032vyAryikwEOqeJXVs5hNgQ==", "license": "MIT AND Apache-2.0" }, "node_modules/@expo/code-signing-certificates": { @@ -1362,36 +1362,34 @@ } }, "node_modules/@expo/config": { - "version": "58.0.11", - "resolved": "https://registry.npmjs.org/@expo/config/-/config-58.0.11.tgz", - "integrity": "sha512-qfJdK5GrT5LcwgkOx5OevR7rxrOwxcSsIFbgIK+IqaRqwCwnrjZCgG9awh0+tcpwOu+B90oDp0QorHzIb8YdUA==", + "version": "58.0.12", + "resolved": "https://registry.npmjs.org/@expo/config/-/config-58.0.12.tgz", + "integrity": "sha512-Ch/4Cb8womWYpY1zI4BEEYT1rGuKti8O8aSzyAM79xNTVRx6nPw2h9j91Knq95OSH3wtjrcthZwVYZ3po4igNg==", "license": "MIT", "dependencies": { - "@expo/config-plugins": "~58.0.12", + "@expo/config-plugins": "~58.0.13", "@expo/config-types": "^58.0.3", "@expo/json-file": "^11.2.1", "@expo/platforms": "^58.0.1", - "@expo/require-utils": "^58.0.5", - "getenv": "^2.0.0", + "@expo/require-utils": "^58.0.6", "resolve-workspace-root": "^2.0.0", "semver": "^7.7.4", "slugify": "^1.3.4" } }, "node_modules/@expo/config-plugins": { - "version": "58.0.12", - "resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-58.0.12.tgz", - "integrity": "sha512-nqnoPBARpKdKLY8+c+N2mizJgiWjlQGWeDhEOqMOZnQcpMmU79H1Svc9QOzcE1yX7obzw0Hf2YVlfW67g58Ucg==", + "version": "58.0.13", + "resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-58.0.13.tgz", + "integrity": "sha512-Vbkt0vpIJ9z+oCFr2simtfuiPxdpIovDgYnzenC9z7jX0rlo8nTLGQky+q+SJdovIbyymGAO45UR0YqwLgbvKw==", "license": "MIT", "dependencies": { "@expo/config-types": "^58.0.3", "@expo/json-file": "~11.2.1", - "@expo/plist": "^0.10.1", - "@expo/require-utils": "^58.0.5", + "@expo/plist": "^0.10.2", + "@expo/require-utils": "^58.0.6", "@expo/sdk-runtime-versions": "^1.0.1", "chalk": "^4.1.2", "debug": "^4.3.5", - "getenv": "^2.0.0", "semver": "^7.7.4", "slugify": "^1.6.6", "tinyglobby": "^0.2.15", @@ -1485,34 +1483,31 @@ } }, "node_modules/@expo/env": { - "version": "2.5.4", - "resolved": "https://registry.npmjs.org/@expo/env/-/env-2.5.4.tgz", - "integrity": "sha512-CjzuExX8GegcNLpOw8BDO19RpzJBD1xCCMSfRL1eMfIGiwIJ9EBu0cE3jn3elk7rKvU5QqH15x72YLWTyxGL2g==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@expo/env/-/env-2.6.0.tgz", + "integrity": "sha512-pSNESQU0IGhLs/A3QlNPoh/acb1vWU7N721OjaIm3JT8yzgZymIM/m4x2y73YwpEtqgwWsCl6+japtq2PtXIPw==", "license": "MIT", "dependencies": { "chalk": "^4.0.0", - "debug": "^4.3.4", - "getenv": "^2.0.0" + "debug": "^4.3.4" }, "engines": { "node": ">=20.12.0" } }, "node_modules/@expo/fingerprint": { - "version": "0.21.9", - "resolved": "https://registry.npmjs.org/@expo/fingerprint/-/fingerprint-0.21.9.tgz", - "integrity": "sha512-Z2xIFc/lvZZnDamAyd9uWUUctoT6uzAYOLAUqiZ2pT6mkDFistVsLd/5XCrD5/W3pUY65GLxmOal6+vyyzo0Dg==", + "version": "0.21.10", + "resolved": "https://registry.npmjs.org/@expo/fingerprint/-/fingerprint-0.21.10.tgz", + "integrity": "sha512-u73rWDHOYijO1wT60uKjtuoGBKsU9/MFSh7WEE63K2jJ0ML8eycUCXF9FmLf3EVzzIjYIPu6Ns04LR7FVGh6mA==", "license": "MIT", "dependencies": { - "@expo/env": "^2.5.4", + "@expo/env": "^2.6.0", "@expo/spawn-async": "^1.8.0", "arg": "^5.0.2", "chalk": "^4.1.2", "debug": "^4.3.4", - "getenv": "^2.0.0", - "glob": "^13.0.0", "ignore": "^5.3.1", - "minimatch": "^10.2.2", + "minimatch": "^10.2.6", "resolve-from": "^5.0.0", "semver": "^7.7.4" }, @@ -1533,15 +1528,14 @@ } }, "node_modules/@expo/image-utils": { - "version": "0.12.6", - "resolved": "https://registry.npmjs.org/@expo/image-utils/-/image-utils-0.12.6.tgz", - "integrity": "sha512-AWzD/c3mM/a+sDbRgOSNzBpkUW8sUVUFcwnZ7xqkkhc5Hi9Fms0pDGw24JLxccgA6cC6bbJ8sZiQbnXBf75onA==", + "version": "0.12.7", + "resolved": "https://registry.npmjs.org/@expo/image-utils/-/image-utils-0.12.7.tgz", + "integrity": "sha512-fuiRQxvvkbj932BamtYh1UKuyRJ5tXBJ3XxpGm5pT4zzynPmygd3RtOQrzIhcsIZGcG6i1n+KvrszYRnk3evqQ==", "license": "MIT", "dependencies": { - "@expo/require-utils": "^58.0.5", + "@expo/require-utils": "^58.0.6", "@expo/spawn-async": "^1.8.0", "chalk": "^4.0.0", - "getenv": "^2.0.0", "jimp-compact": "0.16.1", "parse-png": "^2.1.0", "semver": "^7.7.4" @@ -1560,12 +1554,12 @@ } }, "node_modules/@expo/inline-modules": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/@expo/inline-modules/-/inline-modules-0.2.9.tgz", - "integrity": "sha512-Ksrw66Urvj9YptFWmGYRP7w8PtDBEebhb11tkLgF5kUqDbJT1A07Sr2e8jvRVPLksn+Pkfb0eN2dnvnPh1CNnQ==", + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/@expo/inline-modules/-/inline-modules-0.2.10.tgz", + "integrity": "sha512-WFqhlOrUUc0VZxrUPq5X328aP2e/cQKvJJXhwNxNj9fqWS9iFWC1E9VRHHhJIqdu+qy2YU3s2OBDlyIz9X/5aA==", "license": "MIT", "dependencies": { - "@expo/config-plugins": "~58.0.12" + "@expo/config-plugins": "~58.0.13" } }, "node_modules/@expo/json-file": { @@ -1579,12 +1573,12 @@ } }, "node_modules/@expo/local-build-cache-provider": { - "version": "58.0.11", - "resolved": "https://registry.npmjs.org/@expo/local-build-cache-provider/-/local-build-cache-provider-58.0.11.tgz", - "integrity": "sha512-mAMo/8WMU6tro+sLyDhNaUk0fq7TUOyiHyjLXtk2uo79p4lVmk+jPQMYL1DElAo0tXLkOyyv8DS+f6Ig0o96sg==", + "version": "58.0.12", + "resolved": "https://registry.npmjs.org/@expo/local-build-cache-provider/-/local-build-cache-provider-58.0.12.tgz", + "integrity": "sha512-2fpz4A+cf7YybeVx6lc/kulUpMLOv0OrlhdcvOpMCQG/9Wp5IBOZUgykSN86wmU5ZGJe4JeDJ4Soq5H3hfvzIw==", "license": "MIT", "dependencies": { - "@expo/config": "~58.0.11", + "@expo/config": "~58.0.12", "chalk": "^4.1.2" } }, @@ -1640,20 +1634,20 @@ } }, "node_modules/@expo/metro-config": { - "version": "58.0.21", - "resolved": "https://registry.npmjs.org/@expo/metro-config/-/metro-config-58.0.21.tgz", - "integrity": "sha512-5GT5B1a1THgCa9ICyDDerP81WDNMKhtpt/W1aK98DGTlOIZAXEP85fzVTY/lJZtPJqSSZ0e//XbfYbGsjoJSjQ==", + "version": "58.0.23", + "resolved": "https://registry.npmjs.org/@expo/metro-config/-/metro-config-58.0.23.tgz", + "integrity": "sha512-cEFdrMxH4cddH9rHDg2FxUAl4FUC7TBs8d8GYE1r+zXOjsScoKrQhMtLOPqIc2VEj3ehUFvto3EycrEgrWck+A==", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.20.0", "@babel/core": "^7.20.0", "@babel/generator": "^7.20.5", - "@expo/config": "~58.0.11", - "@expo/env": "~2.5.4", + "@expo/config": "~58.0.12", + "@expo/env": "~2.6.0", "@expo/json-file": "~11.2.1", "@expo/metro": "~58.0.0", "@expo/platforms": "^58.0.1", - "@expo/require-utils": "^58.0.5", + "@expo/require-utils": "^58.0.6", "@expo/spawn-async": "^1.8.0", "@jridgewell/gen-mapping": "^0.3.13", "@jridgewell/remapping": "^2.3.5", @@ -1664,11 +1658,10 @@ "browserslist": "^4.25.0", "chalk": "^4.1.0", "debug": "^4.3.2", - "getenv": "^2.0.0", "hermes-parser": "^0.36.0", "jsc-safe-url": "^0.2.4", "lightningcss": "^1.30.1", - "noxcturnal": "^0.1.11", + "noxcturnal": "^0.1.14", "picomatch": "^4.0.4", "postcss": "^8.5.23", "resolve-from": "^5.0.0", @@ -1684,9 +1677,9 @@ } }, "node_modules/@expo/metro-file-map": { - "version": "58.0.5", - "resolved": "https://registry.npmjs.org/@expo/metro-file-map/-/metro-file-map-58.0.5.tgz", - "integrity": "sha512-Y2w8qKklLffZie28In4WF6f6e8nIJOhU0mZ5UaQdCiITVQm2a5teNdIDudEPkBsh8ItlvyHZt9n42PN2onRbkQ==", + "version": "58.0.6", + "resolved": "https://registry.npmjs.org/@expo/metro-file-map/-/metro-file-map-58.0.6.tgz", + "integrity": "sha512-+kPFI328BSUxpK7OO0kM31NQlYG/z7WOTISbPEuY4fMZxmN/nLnmJIDNG8NTtM5ZHXlNPqgjRvdukxtsBEkvuw==", "license": "MIT", "dependencies": { "2g": "^1.0.1", @@ -1754,9 +1747,9 @@ } }, "node_modules/@expo/modules-macros-linux-arm64": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/@expo/modules-macros-linux-arm64/-/modules-macros-linux-arm64-0.29.0.tgz", - "integrity": "sha512-wWT0DO/S7UluMJDPi+sPSKX516N//waiKg+qh2To1MYpDEAC6bm7tU6nzWskcXOAe8XYC5Dm/crVY5i8/2k/5A==", + "version": "0.33.0", + "resolved": "https://registry.npmjs.org/@expo/modules-macros-linux-arm64/-/modules-macros-linux-arm64-0.33.0.tgz", + "integrity": "sha512-5F4L/IJThOBq3oRo9NB5BI4+Od8K2YDTbU+2IHgsnXsrTc5icQtOlLwHOEfExghjo0PHCXGap4zprfOKvtANxw==", "cpu": [ "arm64" ], @@ -1770,9 +1763,9 @@ ] }, "node_modules/@expo/modules-macros-linux-x64": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/@expo/modules-macros-linux-x64/-/modules-macros-linux-x64-0.29.0.tgz", - "integrity": "sha512-ESYAz3/NZVdEiNyt1pRQ63Px05bZcgn5xHinX90kYTbuRXFxBXYIrjLH27wl8DfasYHP7hnbwUMLo3YLBe/2ag==", + "version": "0.33.0", + "resolved": "https://registry.npmjs.org/@expo/modules-macros-linux-x64/-/modules-macros-linux-x64-0.33.0.tgz", + "integrity": "sha512-G3kxfmMpH7BDtoeBVeJA4vh5O3kQ3wmjmSfDremRBWENHKwHJXTOsyerLQqkJC39oPKCuXgXhzvp+/5qy+DyvA==", "cpu": [ "x64" ], @@ -1786,9 +1779,9 @@ ] }, "node_modules/@expo/modules-macros-win32-arm64": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/@expo/modules-macros-win32-arm64/-/modules-macros-win32-arm64-0.29.0.tgz", - "integrity": "sha512-IUZ8s2xg0iz7feY3apUyh6oX8CyPzCuZT3vvGXRfhziTyTDuwoWZx6G2bf9etbJkTQm/rUvX4h9rgtfk+TDptQ==", + "version": "0.33.0", + "resolved": "https://registry.npmjs.org/@expo/modules-macros-win32-arm64/-/modules-macros-win32-arm64-0.33.0.tgz", + "integrity": "sha512-sAYEhKqywo+38UcWt1KLNzJkSkpba4HYybSSZfpFsoA28/MCBupFZggkbU/E9z81fZeuiWVA2Ote1fp8ogqRAA==", "cpu": [ "arm64" ], @@ -1799,9 +1792,9 @@ ] }, "node_modules/@expo/modules-macros-win32-x64": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/@expo/modules-macros-win32-x64/-/modules-macros-win32-x64-0.29.0.tgz", - "integrity": "sha512-qdJzIIB0oitXD3tErciv5zTxk4zkCNHuG5nnubJ3pFa9Y3VPd2/70lFwWmAjMWZUGwvBiePZhNVAuehdHaOcyQ==", + "version": "0.33.0", + "resolved": "https://registry.npmjs.org/@expo/modules-macros-win32-x64/-/modules-macros-win32-x64-0.33.0.tgz", + "integrity": "sha512-O7tmET8ehVpmocxpVUlXkV9yfKCNo3uKvpN7wNyWcJlEIM6xo+WZuN4RDtndExI6CE5wn8Io608US+BYtrE9+w==", "cpu": [ "x64" ], @@ -1844,30 +1837,29 @@ "license": "MIT" }, "node_modules/@expo/plist": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/@expo/plist/-/plist-0.10.1.tgz", - "integrity": "sha512-nuNOqj+r/hGJbZ1Ax3jUpZaOB8UAMHUrISALJEUKaCieTflYj7224EqFWmMpriCGk9wXS1gH+9GGVnSj0tWzuQ==", + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/@expo/plist/-/plist-0.10.2.tgz", + "integrity": "sha512-kaCDdGLtezkt5s1w7iCaISNJ+RkNac/1yBYYE8XyXLSJu3czGHZKzJGQ8fFOrpEGm6GdlIHFpzVeiF01ZVyHyg==", "license": "MIT", "dependencies": { "@xmldom/xmldom": "^0.8.8", - "base64-js": "^1.5.1", "xmlbuilder": "^15.1.1" } }, "node_modules/@expo/prebuild-config": { - "version": "58.0.19", - "resolved": "https://registry.npmjs.org/@expo/prebuild-config/-/prebuild-config-58.0.19.tgz", - "integrity": "sha512-hnXk/CsXOnKk4eRfA7Qh1JO793wRFzUfCJlu+5NpRwbpuMw6J+0LRRTRY2fIXOL+UefeTi6TD5EGXFKuJU9c4Q==", + "version": "58.0.20", + "resolved": "https://registry.npmjs.org/@expo/prebuild-config/-/prebuild-config-58.0.20.tgz", + "integrity": "sha512-lqXK5d6ni2MCNO/MbuXhojKC+Iy/gaYm0a3vVebwf/njoe1Fp3iw8mXDwoofmvlzZ3HO+beL7XCX6e6ZEYmVyg==", "license": "MIT", "dependencies": { - "@expo/config": "~58.0.11", - "@expo/config-plugins": "~58.0.12", + "@expo/config": "~58.0.12", + "@expo/config-plugins": "~58.0.13", "@expo/config-types": "^58.0.3", - "@expo/image-utils": "^0.12.6", + "@expo/image-utils": "^0.12.7", "@expo/json-file": "^11.2.1", "@react-native/normalize-colors": "0.88.1", "debug": "^4.3.1", - "expo-modules-autolinking": "~58.0.17", + "expo-modules-autolinking": "~58.1.0", "resolve-from": "^5.0.0", "semver": "^7.7.4" } @@ -1885,9 +1877,9 @@ } }, "node_modules/@expo/require-utils": { - "version": "58.0.5", - "resolved": "https://registry.npmjs.org/@expo/require-utils/-/require-utils-58.0.5.tgz", - "integrity": "sha512-14dGubYUBmJjK9aqVSGnwSDs9uaxfzvtqJugtMCEWyuTa/eIvToUbzUwpKCSek6S/hYSEYcgds23vDJhXSBpbQ==", + "version": "58.0.6", + "resolved": "https://registry.npmjs.org/@expo/require-utils/-/require-utils-58.0.6.tgz", + "integrity": "sha512-k9Ce7indjY3+nRBNT6wKw7NghN7pP6WhFnYNjuDiAypwjtVgaZHpD9fo0/g3/emDUpM6ebl8Ekz/teyUGfD9og==", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.20.0", @@ -1934,9 +1926,9 @@ "license": "MIT" }, "node_modules/@expo/ui": { - "version": "58.0.27", - "resolved": "https://registry.npmjs.org/@expo/ui/-/ui-58.0.27.tgz", - "integrity": "sha512-g2BDAofZBgmDVxQ9PtbrWk6z9aPf5OUH+06Jdw7XPPTIFCNZ7qZQ94umEisAm8Vt4xViiECyWNTkHMKo7Pi2+w==", + "version": "58.0.29", + "resolved": "https://registry.npmjs.org/@expo/ui/-/ui-58.0.29.tgz", + "integrity": "sha512-+zeaoDU1zS1rKe1afVsH8sh7+b+HNZyq93ZL0BRJ03RtrxZyYxKljqOcl78Q9NkX1oOO8CdQxzhFa8Dl6o52ug==", "license": "MIT", "dependencies": { "sf-symbols-typescript": "^2.1.0" @@ -2156,9 +2148,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-darwin-arm64": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-darwin-arm64/-/noxcturnal-darwin-arm64-0.1.12.tgz", - "integrity": "sha512-46MqSBhSPSL/LbY0ZhH2Zh+MJUOLWuwEuk6FQLFeJYFepENuNoWinZO/P7xX3dZQ3g2OrJiPE6iWKMBgoeF+gA==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-darwin-arm64/-/noxcturnal-darwin-arm64-0.1.14.tgz", + "integrity": "sha512-5g1fvtfmDsaDzNoqZicO7UKUUaGm9HOTJy30KNxXbSJRreLOQwK0fd0wuAA0OEbBgJSQAvVdAovpjT5HvYRIWw==", "cpu": [ "arm64" ], @@ -2172,9 +2164,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-darwin-x64": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-darwin-x64/-/noxcturnal-darwin-x64-0.1.12.tgz", - "integrity": "sha512-Neaz3ytiqwdWkgX8aSxnPVGO1ZmzalUEhWOCo2gWQC6DJAps6BjfjZwhdFtiWCOQ9iuukDkWnaKYZG4N1Ab6Bw==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-darwin-x64/-/noxcturnal-darwin-x64-0.1.14.tgz", + "integrity": "sha512-rnZ8LRa+rYOyHmPS2PpPgxRHaeU0zJZ7Ii8huuAMbADfJHGceGBU8SQYqd7+Vs1VwSUcxRm4BMC4+QL1IgdqrA==", "cpu": [ "x64" ], @@ -2188,9 +2180,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-linux-arm64-gnu": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-arm64-gnu/-/noxcturnal-linux-arm64-gnu-0.1.12.tgz", - "integrity": "sha512-amvAnI2qoxJ/LQjFL1pMQHgym/C+SKPATPDcX6W4wcttBRIDh54PbEWKSaWeFoZ1EsqIF2O4SsDXxjImWGVQzw==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-arm64-gnu/-/noxcturnal-linux-arm64-gnu-0.1.14.tgz", + "integrity": "sha512-9SZoiNaEKwFJ0V7cgpoCjHLh80fd8/wAJrbG1VWR8DJfkbVBvXhipTnxEISZ0LdidmthpVo0i2GiI6ToUdkmkg==", "cpu": [ "arm64" ], @@ -2207,9 +2199,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-linux-arm64-musl": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-arm64-musl/-/noxcturnal-linux-arm64-musl-0.1.12.tgz", - "integrity": "sha512-dTY6LRtSfhZRYRW7Kc4DwAoU8vM0NqopXWWV3RJ8aux8nJ19uhCtRbpEzjIjAT8jG6/Ds5FLEXFqJgVLf4fr2A==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-arm64-musl/-/noxcturnal-linux-arm64-musl-0.1.14.tgz", + "integrity": "sha512-dxZXo7Xj00w8eeFac+ev/75lJd/62GSUIX4wwCN2yYn6r9Jrim3DJ6yKVZwmfqHDE0v55TZsif0/vdhNFxFXfQ==", "cpu": [ "arm64" ], @@ -2226,9 +2218,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-linux-x64-gnu": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-x64-gnu/-/noxcturnal-linux-x64-gnu-0.1.12.tgz", - "integrity": "sha512-v7PyVf9PgGRaFGq8DTilouKHIh/huXqfQOa9hIC7siseaxMzNX/HdweL9ZvXV7ZjkzUbbEZrg3YuIZ874PPYZA==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-x64-gnu/-/noxcturnal-linux-x64-gnu-0.1.14.tgz", + "integrity": "sha512-ek3098/TS+Ma2vJUjzpIZnhU70lryFzFPEdKdQ5u+1w00QKvMg0teFa2mec1H8/ndK74/xYWy8e4d92Uz+s9Dg==", "cpu": [ "x64" ], @@ -2245,9 +2237,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-linux-x64-musl": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-x64-musl/-/noxcturnal-linux-x64-musl-0.1.12.tgz", - "integrity": "sha512-7oWCdgQ2T1qjC05bz8IHzVRdg/yC+3SRZnDxc1xdY/vPKvrMUHJUB7oiKLHbLPtuMx8m5+lagm7RBQabUTBvxw==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-x64-musl/-/noxcturnal-linux-x64-musl-0.1.14.tgz", + "integrity": "sha512-qblXyvGhD5HoJSK32Q8YN6PnEz4GPXgr2KLgStpRG1oG8+BRPlrqZCaQRbQI5Bn3L8NZ+OjyGWhLEG1kgdzHBw==", "cpu": [ "x64" ], @@ -2264,9 +2256,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-win32-arm64-msvc": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-win32-arm64-msvc/-/noxcturnal-win32-arm64-msvc-0.1.12.tgz", - "integrity": "sha512-Ma+0PV4nVdRXCYhgNontvuoAczRC11mbZ18LCaWY2aVTc76HjsQQEFPgXqRNlj2/Rjaax5EXUQqyLYYwI+ZB5A==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-win32-arm64-msvc/-/noxcturnal-win32-arm64-msvc-0.1.14.tgz", + "integrity": "sha512-K9Q82l32juE/p7Ca6p36rAWfNzORkCyoL0R2aDUq3tkYOmivu3xTewnxUwDLTzDIuLsMgb4niy5vrtr4IXdNXw==", "cpu": [ "arm64" ], @@ -2280,9 +2272,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-win32-x64-msvc": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-win32-x64-msvc/-/noxcturnal-win32-x64-msvc-0.1.12.tgz", - "integrity": "sha512-6QcmxWocHLMfQKT5cy0+KbIYbCpaTd50MC/k6t7pQrfnKMKav5tdQi0lsx3WRrIE/5qUNepNx5iv9DjSJTXrGg==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-win32-x64-msvc/-/noxcturnal-win32-x64-msvc-0.1.14.tgz", + "integrity": "sha512-qiiOLLQUYnLZai3traWx90yzMLGZlkvwGNYMFkGw5MwnMifVgfl3Z3ooFiSYaVKjkTYqxBF9rOCvhFL6yXaoxA==", "cpu": [ "x64" ], @@ -4022,9 +4014,9 @@ } }, "node_modules/babel-preset-expo": { - "version": "58.0.24", - "resolved": "https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-58.0.24.tgz", - "integrity": "sha512-weiIlSNOAs9q54nA2JLvXbFQW/8oUVUHiwHsfZaaZzZCBw8zoKz8hCjIYSCcixxQm+4vLzGKbsD1aF9pDwY3lQ==", + "version": "58.0.26", + "resolved": "https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-58.0.26.tgz", + "integrity": "sha512-ZCH0nRF6T5Txn2r7FqY66xcYN2ni80WzH3snBA0pFGHZpMeSgaADnb5jJmPGEnWKcb7p34ViGFf17jXoFQ1zGg==", "license": "MIT", "dependencies": { "@babel/generator": "^7.20.5", @@ -4073,7 +4065,7 @@ "peerDependencies": { "@babel/runtime": "^7.20.0", "expo": "*", - "expo-widgets": "^58.0.27", + "expo-widgets": "^58.0.29", "react-refresh": ">=0.14.0 <1.0.0" }, "peerDependenciesMeta": { @@ -5675,33 +5667,33 @@ } }, "node_modules/expo": { - "version": "58.0.23", - "resolved": "https://registry.npmjs.org/expo/-/expo-58.0.23.tgz", - "integrity": "sha512-FRpmfd1mdjWS9bRSMoZkwpF8ugbN+w6BDtNs+DYEio7rdSguTJ6fs/gaeWSeN60AJAbz80Uj36AMWtpHkShG0g==", + "version": "58.0.26", + "resolved": "https://registry.npmjs.org/expo/-/expo-58.0.26.tgz", + "integrity": "sha512-6i4kqt5lbcQdxmtnkkJ3JR5sn+A3L+xO45duLhh2rndvrek/chX/GTysTYozl4oL3+txKD53pDlJd75XRYf9Ow==", "license": "MIT", "dependencies": { "@babel/runtime": "^7.20.0", - "@expo/cli": "^58.1.19", - "@expo/config": "~58.0.11", - "@expo/config-plugins": "~58.0.12", + "@expo/cli": "^58.1.21", + "@expo/config": "~58.0.12", + "@expo/config-plugins": "~58.0.13", "@expo/devtools": "~58.0.2", "@expo/dom-webview": "~58.0.2", - "@expo/fingerprint": "^0.21.9", - "@expo/local-build-cache-provider": "^58.0.11", + "@expo/fingerprint": "^0.21.10", + "@expo/local-build-cache-provider": "^58.0.12", "@expo/log-box": "^58.0.15", "@expo/log-box-utils": "^58.0.2", "@expo/metro": "~58.0.0", - "@expo/metro-config": "~58.0.21", + "@expo/metro-config": "~58.0.23", "@ungap/structured-clone": "^1.3.0", - "babel-preset-expo": "~58.0.24", - "expo-asset": "~58.0.20", - "expo-constants": "~58.0.15", - "expo-file-system": "~58.0.13", - "expo-font": "~58.0.11", - "expo-keep-awake": "~58.0.3", - "expo-modules-autolinking": "~58.0.17", - "expo-modules-cli": "~0.4.0", - "expo-modules-core": "~58.0.30", + "babel-preset-expo": "~58.0.26", + "expo-asset": "~58.0.21", + "expo-constants": "~58.0.16", + "expo-file-system": "~58.0.14", + "expo-font": "~58.0.12", + "expo-keep-awake": "~58.0.4", + "expo-modules-autolinking": "~58.1.0", + "expo-modules-cli": "~0.5.0", + "expo-modules-core": "~58.1.0", "pretty-format": "^29.7.0", "react-refresh": "^0.14.2", "whatwg-url-minimum": "^0.2.0" @@ -5743,13 +5735,13 @@ } }, "node_modules/expo-asset": { - "version": "58.0.20", - "resolved": "https://registry.npmjs.org/expo-asset/-/expo-asset-58.0.20.tgz", - "integrity": "sha512-atirOtDsH0l+4zxnByf4WKc7Iw2k5e2bSNAkuu79d4SLOAjAROoDizeP0qNQSMyZNoHPArw7EwTpoc8LuWvg4Q==", + "version": "58.0.21", + "resolved": "https://registry.npmjs.org/expo-asset/-/expo-asset-58.0.21.tgz", + "integrity": "sha512-qaJmuTtswggXdBQfiUdpxrVGM7l+tH8iEDHwVDMuxyCF/kAau8sUGVuWrDKYNW4yAx7Z8ncgsT8s27pXjRH5GA==", "license": "MIT", "dependencies": { - "@expo/image-utils": "^0.12.6", - "expo-constants": "~58.0.15" + "@expo/image-utils": "^0.12.7", + "expo-constants": "~58.0.16" }, "peerDependencies": { "expo": "*", @@ -5758,13 +5750,13 @@ } }, "node_modules/expo-constants": { - "version": "58.0.15", - "resolved": "https://registry.npmjs.org/expo-constants/-/expo-constants-58.0.15.tgz", - "integrity": "sha512-uokwzsYdjM/ZTEvQJCANhP4eJ4XGGR6keJy/Ac9HntLsQART8o+Y8nTVAXdMaRv6T5wuzJOliJmKUYJlDlamdg==", + "version": "58.0.16", + "resolved": "https://registry.npmjs.org/expo-constants/-/expo-constants-58.0.16.tgz", + "integrity": "sha512-sVETnE1ktBMclc2Ve3qNrHhOCCio75a9JdghnJYGbqblmKfrrfE+lO9K4g9kNtmslIBLTK9Dyty6PbubkXs3Yw==", "license": "MIT", "dependencies": { - "@expo/env": "~2.5.4", - "@expo/require-utils": "^58.0.5" + "@expo/env": "~2.6.0", + "@expo/require-utils": "^58.0.6" }, "peerDependencies": { "expo": "*", @@ -5784,9 +5776,9 @@ } }, "node_modules/expo-file-system": { - "version": "58.0.13", - "resolved": "https://registry.npmjs.org/expo-file-system/-/expo-file-system-58.0.13.tgz", - "integrity": "sha512-+/1aFErkawyky5UdWI06zYeO2DeHUnfaWnYHeiI8M8Z/sB6L66gI3WUxqtvUvKJoaM0Ti1CximD3x3JwteLYIg==", + "version": "58.0.14", + "resolved": "https://registry.npmjs.org/expo-file-system/-/expo-file-system-58.0.14.tgz", + "integrity": "sha512-VK67RQPDmWRHGbvpmPY5MeA1Ulw1LiyKs4KIN8na/q7SlkxYuPPR8biWsyX1S1/8XAHm6y2txUnYjCKh9l93lQ==", "license": "MIT", "peerDependencies": { "expo": "*", @@ -5794,9 +5786,9 @@ } }, "node_modules/expo-font": { - "version": "58.0.11", - "resolved": "https://registry.npmjs.org/expo-font/-/expo-font-58.0.11.tgz", - "integrity": "sha512-6r7s6xk2L2orvum+x+TY1fzEcMtuCBRQTLgC/Su2uLzNPpT4L+E+S4IAGy8ZIjeVvwk2j2pj+HiZ23O7eh1PGQ==", + "version": "58.0.12", + "resolved": "https://registry.npmjs.org/expo-font/-/expo-font-58.0.12.tgz", + "integrity": "sha512-5m8TJrQ27DT1815P066HBtcHINgD8yuIqH4ca2ZyYwCsPa4QZ8UzOBDtrHnAMWMAlAgol+PGVj9aKeoYov70JA==", "license": "MIT", "peerDependencies": { "expo": "*", @@ -5836,9 +5828,9 @@ } }, "node_modules/expo-keep-awake": { - "version": "58.0.3", - "resolved": "https://registry.npmjs.org/expo-keep-awake/-/expo-keep-awake-58.0.3.tgz", - "integrity": "sha512-wLRF+XeVsD/Rt/ZyX+A0mk1brdf8vefWizNAPzqV5eOCgkj23LCRZdN8gUi5X8UwyR8UJ7Y7Dzdz4YDGB/4c9Q==", + "version": "58.0.4", + "resolved": "https://registry.npmjs.org/expo-keep-awake/-/expo-keep-awake-58.0.4.tgz", + "integrity": "sha512-zXJJRBwMpWl2Q2Aj9rksMe1ncz6aphOPqYnG3rTkCFALZiM22xQCqpQqBloDcQ6g4RdGTy++lRnsDX7MWpK1qw==", "license": "MIT", "peerDependencies": { "expo": "*", @@ -5846,12 +5838,12 @@ } }, "node_modules/expo-linking": { - "version": "58.0.16", - "resolved": "https://registry.npmjs.org/expo-linking/-/expo-linking-58.0.16.tgz", - "integrity": "sha512-yGz7w4nySktoOba7fS08DzzQXfEgLd60248Sz3u4m/Vzi8SKhC5xBXWmP4scGh0Ele89I350k/uvo2moVmmZJw==", + "version": "58.0.17", + "resolved": "https://registry.npmjs.org/expo-linking/-/expo-linking-58.0.17.tgz", + "integrity": "sha512-NFOt1L+FdW1uwjnwvvW+1oZ8j0W1IpYydKKuqny7tCiDVmHLxDYiYgXbyuHNAMLdQYjCBknq4910DmTM1x/XGw==", "license": "MIT", "dependencies": { - "expo-constants": "~58.0.15", + "expo-constants": "~58.0.16", "invariant": "^2.2.4" }, "peerDependencies": { @@ -5861,13 +5853,13 @@ } }, "node_modules/expo-modules-autolinking": { - "version": "58.0.17", - "resolved": "https://registry.npmjs.org/expo-modules-autolinking/-/expo-modules-autolinking-58.0.17.tgz", - "integrity": "sha512-mZRVuUCOsYK4+n9U8972bQBqXn21ncMd9BBx0/iepKH49tdMB8ADj3O9bb+huA80XckyorFLVfi6nJcImYtUyg==", + "version": "58.1.0", + "resolved": "https://registry.npmjs.org/expo-modules-autolinking/-/expo-modules-autolinking-58.1.0.tgz", + "integrity": "sha512-JAegkS+nC4LVEgKMHAnpWhUxs1BYHHaTJnncVW2EQION1bVz0y8/wEglAeGV+oq4BNS1V7s8zCMTZU0hMi28bA==", "license": "MIT", "dependencies": { "@expo/platforms": "^58.0.1", - "@expo/require-utils": "^58.0.5", + "@expo/require-utils": "^58.0.6", "@expo/spawn-async": "^1.8.0", "chalk": "^4.1.0", "commander": "^7.2.0" @@ -5877,9 +5869,9 @@ } }, "node_modules/expo-modules-cli": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/expo-modules-cli/-/expo-modules-cli-0.4.0.tgz", - "integrity": "sha512-NuvnnEFL+UMuQSjykg5ZhV0oxkOww8exJbZh+75pFF7DJhE3kQtfnOd4Yq4G6PrkVnqbeuKsqf6zX8V9p65ZYw==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/expo-modules-cli/-/expo-modules-cli-0.5.0.tgz", + "integrity": "sha512-uBNKkp5NIMo2bmJiQL36EBLNMeX+2GEIxpz10BioT0EGQTsPcgrV0ypfGy31GtPoFOObyc9ibHhklsOtpzhblw==", "license": "MIT", "dependencies": { "@babel/parser": "^7.20.0", @@ -5893,13 +5885,13 @@ } }, "node_modules/expo-modules-core": { - "version": "58.0.30", - "resolved": "https://registry.npmjs.org/expo-modules-core/-/expo-modules-core-58.0.30.tgz", - "integrity": "sha512-uIyFJHouaiHwIoDjWSjb1Zg5LMGmkUs7CEp0rzpXvC+SStP/sr+dcjclUYD1ImmngMYuxRcs9soHEuWbcZWr/w==", + "version": "58.1.0", + "resolved": "https://registry.npmjs.org/expo-modules-core/-/expo-modules-core-58.1.0.tgz", + "integrity": "sha512-eXHOPyxHkDyTxUWnKEatC+Hx4tLoPWCPd5pCynAU4WkaBvAG/l5t/wu5jXiE5eh2CRr2NU4iAQePX2zUfNEVhA==", "license": "MIT", "dependencies": { - "expo-modules-jsi": "~58.0.22", - "expo-modules-macros": "0.29.0", + "expo-modules-jsi": "~58.0.23", + "expo-modules-macros": "0.33.0", "invariant": "^2.2.4" }, "peerDependencies": { @@ -5914,30 +5906,30 @@ } }, "node_modules/expo-modules-jsi": { - "version": "58.0.22", - "resolved": "https://registry.npmjs.org/expo-modules-jsi/-/expo-modules-jsi-58.0.22.tgz", - "integrity": "sha512-sWyOUEsRHZdobItrerWxVR32uiABSijoVJGoIW1dubfZuNNaRG+Hgis4u+92Gle1gEdH2Z4qKqm0JxSZCzk9AA==", + "version": "58.0.23", + "resolved": "https://registry.npmjs.org/expo-modules-jsi/-/expo-modules-jsi-58.0.23.tgz", + "integrity": "sha512-ex3CnT8KLubsPjUG0RpEL5VgmpnWxf7Ouc+WXEr8jEbIwqcULEWtA2tfhGZwjg6jS3zeNwjygF1w8QSstP7JfQ==", "license": "MIT", "peerDependencies": { "react-native": "*" } }, "node_modules/expo-modules-macros": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/expo-modules-macros/-/expo-modules-macros-0.29.0.tgz", - "integrity": "sha512-kpkJHrFnHMXfUfvFkDuKRXXqi+CUIIhJ6G8v/4rC09VjmXcdQ30imoY1oNDVEho6tPbJFV0Ux21sZ9wK0XYajQ==", + "version": "0.33.0", + "resolved": "https://registry.npmjs.org/expo-modules-macros/-/expo-modules-macros-0.33.0.tgz", + "integrity": "sha512-ddrT2jbYPYmiHmzcYOixRemFUUK9qQEb5pOBWgoFoW0gj3sGld1CZX0GwblUXeZMyEX65S9vc1bEhIAGVDRA9w==", "license": "MIT", "optionalDependencies": { - "@expo/modules-macros-linux-arm64": "0.29.0", - "@expo/modules-macros-linux-x64": "0.29.0", - "@expo/modules-macros-win32-arm64": "0.29.0", - "@expo/modules-macros-win32-x64": "0.29.0" + "@expo/modules-macros-linux-arm64": "0.33.0", + "@expo/modules-macros-linux-x64": "0.33.0", + "@expo/modules-macros-win32-arm64": "0.33.0", + "@expo/modules-macros-win32-x64": "0.33.0" } }, "node_modules/expo-router": { - "version": "58.0.30", - "resolved": "https://registry.npmjs.org/expo-router/-/expo-router-58.0.30.tgz", - "integrity": "sha512-GzwSjiDCJeSHDiH71jeCsncMCEksRyDhGweNcVjGfW5C7JMYtROUroMBudPGtrOpKkHUQ0lampFsb8jidT4lbg==", + "version": "58.0.32", + "resolved": "https://registry.npmjs.org/expo-router/-/expo-router-58.0.32.tgz", + "integrity": "sha512-UEfbsGvjGL8MJXj/NHt/elUupdJ5tUDvaHdSy0fEfIIeUnOqixr6KJZlyv9OrJyl4OYmWt8HuCHDyT5Pzqbfkw==", "license": "MIT", "dependencies": { "@expo/log-box": "^58.0.15", @@ -5949,13 +5941,13 @@ "@react-native/normalize-colors": "0.88.1", "client-only": "^0.0.1", "expo-glass-effect": "^58.0.5", - "expo-server": "^58.0.6", - "expo-status-bar": "^58.0.4", + "expo-server": "^58.1.0", + "expo-status-bar": "^58.0.5", "nanoid": "^3.3.18", "react-fast-compare": "^3.2.2", "react-is": "^19.1.0", "react-native-drawer-layout": "^4.2.12", - "react-native-screens": "^4.30.1 || ^5.0.0-alpha.3", + "react-native-screens": "^4.30.1 || ^5.0.0-beta.1", "server-only": "^0.0.1", "sf-symbols-typescript": "^2.1.0", "standard-navigation": "^0.0.5" @@ -5963,19 +5955,19 @@ "peerDependencies": { "@expo/log-box": "^58.0.15", "@expo/metro-runtime": "^58.0.17", - "@expo/ui": "^58.0.27", + "@expo/ui": "^58.0.29", "@testing-library/react-native": ">= 14.0.0", "expo": "*", - "expo-constants": "^58.0.15", - "expo-linking": "^58.0.16", - "expo-symbols": "^58.0.4", + "expo-constants": "^58.0.16", + "expo-linking": "^58.0.17", + "expo-symbols": "^58.0.5", "react": "*", "react-dom": "*", "react-native": "*", "react-native-gesture-handler": "*", "react-native-reanimated": "*", "react-native-safe-area-context": ">= 5.4.0", - "react-native-screens": "^4.30.1 || ^5.0.0-alpha.3", + "react-native-screens": "^4.30.1 || ^5.0.0-beta.1", "react-native-web": "*", "react-native-worklets": "*", "react-server-dom-webpack": "~19.0.4 || ~19.1.5 || ~19.2.4 || ~19.3.0" @@ -6020,22 +6012,22 @@ } }, "node_modules/expo-server": { - "version": "58.0.6", - "resolved": "https://registry.npmjs.org/expo-server/-/expo-server-58.0.6.tgz", - "integrity": "sha512-6DBlSZwxk3J0y1j2s4XebAWNiwGaMp32NcWX7b2kJC2+EFf1g+pCcVmx8ylawt2tyLmbDHswm4MHOfrd4bqfvA==", + "version": "58.1.0", + "resolved": "https://registry.npmjs.org/expo-server/-/expo-server-58.1.0.tgz", + "integrity": "sha512-jo7I6uHnP5OQYKx3+7lbpdVVnOEwFj2ryDkQdauUQSwgh2HuMUkiFXWUIVe01ts6DLRoff5U0Tv+uNb3CMq/kw==", "license": "MIT", "engines": { "node": "^22.13.0 || ^24.3.0 || ^26.0.0 || >=27.0.0" } }, "node_modules/expo-splash-screen": { - "version": "58.0.13", - "resolved": "https://registry.npmjs.org/expo-splash-screen/-/expo-splash-screen-58.0.13.tgz", - "integrity": "sha512-RsvDF13tU1wQIy2blzmdbZoWpPWNTYks2A0CUq2AENR7i7u8elSSEfQOdh5TeC0lrrFVbiWfPj2JiM7y/m08Ig==", + "version": "58.0.14", + "resolved": "https://registry.npmjs.org/expo-splash-screen/-/expo-splash-screen-58.0.14.tgz", + "integrity": "sha512-Z05ihk8LoBX3GeUd1EiV8yG9hd1Pw9wa5AaiAFQx4c81laMVo0LX6x+0o5fXFKnBA9VjlMe5CYWQqUtZf3BCIw==", "license": "MIT", "dependencies": { - "@expo/config-plugins": "~58.0.12", - "@expo/image-utils": "^0.12.6", + "@expo/config-plugins": "~58.0.13", + "@expo/image-utils": "^0.12.7", "xml2js": "0.6.0" }, "peerDependencies": { @@ -6043,9 +6035,9 @@ } }, "node_modules/expo-status-bar": { - "version": "58.0.4", - "resolved": "https://registry.npmjs.org/expo-status-bar/-/expo-status-bar-58.0.4.tgz", - "integrity": "sha512-e6JJHziSSNb1v1VSzmDrAPf6GFoPRdVOIDrTCcK3bHfbJEAZGZ3YZXfqlorZtUFDT0z6NcjaZf0mPWifJZcqew==", + "version": "58.0.5", + "resolved": "https://registry.npmjs.org/expo-status-bar/-/expo-status-bar-58.0.5.tgz", + "integrity": "sha512-Lq1h7QpNY2FY7+Dyrn15atrFZs1Yd4IfMfhwyyWb3TqWc+vwtYZH54W9VhhjqXtgitXe+RVAX7YZoCekjbLmug==", "license": "MIT", "peerDependencies": { "expo": "*", @@ -6054,9 +6046,9 @@ } }, "node_modules/expo-symbols": { - "version": "58.0.4", - "resolved": "https://registry.npmjs.org/expo-symbols/-/expo-symbols-58.0.4.tgz", - "integrity": "sha512-cZeIh4bf4uUI5GhI0BK88dV1BCoWlgp1fmbPuUY/bZnonmyGS881Yvy8MkbM+R+ozo7W9TdZFpbFRWjUA+spcA==", + "version": "58.0.5", + "resolved": "https://registry.npmjs.org/expo-symbols/-/expo-symbols-58.0.5.tgz", + "integrity": "sha512-6YKmDsd44hVcTBvhf0wsbqmwefDsVwYinY4fOKAISVGDSETSrOj0uroPyODxZjGX00Ms2z8XXgor1ElueNJNNw==", "license": "MIT", "dependencies": { "@expo-google-fonts/material-symbols": "^0.4.1", @@ -6090,9 +6082,9 @@ } }, "node_modules/expo-web-browser": { - "version": "58.0.7", - "resolved": "https://registry.npmjs.org/expo-web-browser/-/expo-web-browser-58.0.7.tgz", - "integrity": "sha512-dQ2/lkw+GR0+5xG6L2cixH+Zk7tY0IeWGhS2PRw+JIPDbqU+8eAb3F0twB7vMFBls4B/DdaLYoEj/hhq7msLHQ==", + "version": "58.1.0", + "resolved": "https://registry.npmjs.org/expo-web-browser/-/expo-web-browser-58.1.0.tgz", + "integrity": "sha512-WNMMTyrXkKQt6Id7u4GnwrWO8UFw/cVl7oSUUwyo1X14lKdc7uE+1poW9VCuXzOog7QOjmQytBclWdeDW75K1A==", "license": "MIT", "peerDependencies": { "expo": "*", @@ -6100,31 +6092,31 @@ } }, "node_modules/expo/node_modules/@expo/cli": { - "version": "58.1.19", - "resolved": "https://registry.npmjs.org/@expo/cli/-/cli-58.1.19.tgz", - "integrity": "sha512-zoLhSlFnln0xn1fiW0+kb1J0lNv06HAy+FQ27HHwEEWoAClCE13FnTQBOW5bOVYc3c7hsGM8ypKcZGS7RGqjQA==", + "version": "58.1.21", + "resolved": "https://registry.npmjs.org/@expo/cli/-/cli-58.1.21.tgz", + "integrity": "sha512-E+27FQ1Y26fVb0p1wVHBFkbe5oQubUXLwF/au5Vy8OCqDWrmbekBQamRI4mBhY15FhZQxAkyK0e6hXcEFKVBOw==", "license": "MIT", "dependencies": { "@expo/code-signing-certificates": "^0.0.7", - "@expo/config": "~58.0.11", - "@expo/config-plugins": "~58.0.12", + "@expo/config": "~58.0.12", + "@expo/config-plugins": "~58.0.13", "@expo/devcert": "^1.2.2", - "@expo/env": "~2.5.4", - "@expo/image-utils": "^0.12.6", - "@expo/inline-modules": "^0.2.9", + "@expo/env": "~2.6.0", + "@expo/image-utils": "^0.12.7", + "@expo/inline-modules": "^0.2.10", "@expo/json-file": "^11.2.1", "@expo/log-box": "^58.0.15", "@expo/log-box-utils": "^58.0.2", "@expo/metro": "~58.0.0", - "@expo/metro-config": "58.0.21", - "@expo/metro-file-map": "^58.0.5", + "@expo/metro-config": "58.0.23", + "@expo/metro-file-map": "^58.0.6", "@expo/osascript": "^2.8.1", "@expo/package-manager": "^1.14.2", "@expo/platforms": "^58.0.1", - "@expo/plist": "^0.10.1", - "@expo/prebuild-config": "^58.0.19", - "@expo/require-utils": "^58.0.5", - "@expo/router-server": "^58.0.21", + "@expo/plist": "^0.10.2", + "@expo/prebuild-config": "^58.0.20", + "@expo/require-utils": "^58.0.6", + "@expo/router-server": "^58.0.23", "@expo/schema-utils": "^58.0.3", "@expo/spawn-async": "^1.8.0", "@expo/ws-tunnel": "^2.0.1", @@ -6143,10 +6135,8 @@ "compression": "^1.7.4", "connect": "^3.7.0", "dnssd-advertise": "^1.1.6", - "expo-server": "^58.0.6", + "expo-server": "^58.1.0", "fetch-nodeshim": "^0.4.10", - "getenv": "^2.0.0", - "glob": "^13.0.0", "lan-network": "^0.2.1", "multitars": "^1.0.2", "node-forge": "^1.4.0", @@ -6164,6 +6154,7 @@ "stacktrace-parser": "^0.1.10", "structured-headers": "^0.4.1", "terminal-link": "^2.1.1", + "tinyglobby": "^0.2.15", "toqr": "^0.1.1", "wrap-ansi": "^7.0.0", "ws": "^8.12.1" @@ -6190,9 +6181,9 @@ } }, "node_modules/expo/node_modules/@expo/cli/node_modules/@expo/router-server": { - "version": "58.0.21", - "resolved": "https://registry.npmjs.org/@expo/router-server/-/router-server-58.0.21.tgz", - "integrity": "sha512-ll24bNIUllohdQ/dLz9ANvx3ZwFd+BN6RSWJ2Da1gxMQ6QHop2TNz6ShlMBy+j6o1H573kYHXWRB2PrFDH1LGQ==", + "version": "58.0.23", + "resolved": "https://registry.npmjs.org/@expo/router-server/-/router-server-58.0.23.tgz", + "integrity": "sha512-Vcd/mskn2BSGt9dVAzAKlUFGbagfUlMT3afTgkw7KDpn8pwtkbm6M4g11158OcVSZ10m3VLvoySeZDFPskHLaQ==", "license": "MIT", "dependencies": { "debug": "^4.3.4" @@ -6200,10 +6191,10 @@ "peerDependencies": { "@expo/metro-runtime": "^58.0.17", "expo": "*", - "expo-constants": "^58.0.15", - "expo-font": "^58.0.11", + "expo-constants": "^58.0.16", + "expo-font": "^58.0.12", "expo-router": "*", - "expo-server": "^58.0.6", + "expo-server": "^58.1.0", "react": "*", "react-dom": "*", "react-server-dom-webpack": "~19.0.1 || ~19.1.2 || ~19.2.1 || ~19.3.0" @@ -6288,9 +6279,9 @@ } }, "node_modules/expo/node_modules/ws": { - "version": "8.22.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.2.tgz", - "integrity": "sha512-/rEZ2ejown2N5gxVTHUu9bVVC7ttu0/Tgzf5hbTOixR3Fs7mbbXgn2DbdbcKgJOmpQMtrIUWivtYuVMnp/W/yA==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.23.0.tgz", + "integrity": "sha512-wCkmX8QMOrKjgO8HW2WyDbTSGeqkocxgDzS9iR79rEAexty6/2qzilx3Ag8Tqf9ykop3irLKle0MtVn5qjVnoQ==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -6430,9 +6421,9 @@ } }, "node_modules/fetch-nodeshim": { - "version": "0.4.10", - "resolved": "https://registry.npmjs.org/fetch-nodeshim/-/fetch-nodeshim-0.4.10.tgz", - "integrity": "sha512-m6I8ALe4L4XpdETy7MJZWs6L1IVMbjs99bwbpIKphxX+0CTns4IKDWJY0LWfr4YsFjfg+z1TjzTMU8lKl8rG0w==", + "version": "0.4.11", + "resolved": "https://registry.npmjs.org/fetch-nodeshim/-/fetch-nodeshim-0.4.11.tgz", + "integrity": "sha512-mdKkKZtNfL3PAK940FSnTgA5XhsGP2IZTE4mv6UoJxixPnslS2oG02Oz06BzH88QwDOJtXRaFqABIJ2Zha6h2A==", "license": "MIT" }, "node_modules/file-entry-cache": { @@ -6724,32 +6715,6 @@ "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" } }, - "node_modules/getenv": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/getenv/-/getenv-2.0.0.tgz", - "integrity": "sha512-VilgtJj/ALgGY77fiLam5iD336eSWi96Q15JSAG1zi8NRBysm3LXKdGnHb4m5cuyxvOLQQKWpBZAT6ni4FI2iQ==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/glob": { - "version": "13.0.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.7.tgz", - "integrity": "sha512-wfsFgXQ8A3SEI9XGf7Nl3Y9l7ffSrGh7SUCT7vU/2CzYPep9kjxAn1S40F9OPKxAMGCVl7HtNlJhrCJUeUq83g==", - "license": "BlueOak-1.0.0", - "dependencies": { - "minimatch": "^10.2.2", - "minipass": "^7.1.3", - "path-scurry": "^2.0.2" - }, - "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -8971,15 +8936,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/minipass": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", - "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -8987,9 +8943,9 @@ "license": "MIT" }, "node_modules/multitars": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/multitars/-/multitars-1.0.2.tgz", - "integrity": "sha512-6GwVw5eLi9sThdtlS4PKwC7yRLaf45pYhIEzKBHdKxi+YOXGKFX8acIniH+Uh/+k9mS2lQOupTccjoe5r0/1IQ==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/multitars/-/multitars-1.0.3.tgz", + "integrity": "sha512-5e2ayy9RjixFisCSfPL6pOgCJhDXYLLx73puYEnIT05A60q3kw3q0ipnqcCgmg6EAScLwatGMBJEHYmP7BSEYw==", "license": "MIT" }, "node_modules/nanoid": { @@ -9090,9 +9046,9 @@ } }, "node_modules/node-forge": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.4.3.tgz", - "integrity": "sha512-P6wzfh6t70avmV8FrVEAd/36sOPJQ+hkaJVX1Laap9J/77m7M0eyozDvc8SwnDf4P7MP94gwbAAo0rg3YVXT+g==", + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.4.4.tgz", + "integrity": "sha512-T6VRRpF3+czIGcXW/LOeoD7Ej28d8CF1UMEAbJyJRUtYMvyXAgxUPW2kbUibumvV9LiUQAznJOFyeYclzSJMMg==", "license": "(BSD-3-Clause OR GPL-2.0)", "engines": { "node": ">= 6.13.0" @@ -9114,9 +9070,9 @@ } }, "node_modules/noxcturnal": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/noxcturnal/-/noxcturnal-0.1.12.tgz", - "integrity": "sha512-trkrCAq5t1ynqEbGdHGbGo1ItUye1uelApLhmU0/asW5NrfBRsMQDXBOpUTIfpcX7SdAvVjii7cEPIrfIrEVgg==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/noxcturnal/-/noxcturnal-0.1.14.tgz", + "integrity": "sha512-dYhWwCVfxlxnyzkVvP6W+XXd7lKikl04YckNur8xV4IejmgYDPq2ykSvzA2zfYVaNgEvmWDceOVRFn3sjry69Q==", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.20.0", @@ -9126,14 +9082,14 @@ "node": ">=18" }, "optionalDependencies": { - "@noxcturnal/noxcturnal-darwin-arm64": "0.1.12", - "@noxcturnal/noxcturnal-darwin-x64": "0.1.12", - "@noxcturnal/noxcturnal-linux-arm64-gnu": "0.1.12", - "@noxcturnal/noxcturnal-linux-arm64-musl": "0.1.12", - "@noxcturnal/noxcturnal-linux-x64-gnu": "0.1.12", - "@noxcturnal/noxcturnal-linux-x64-musl": "0.1.12", - "@noxcturnal/noxcturnal-win32-arm64-msvc": "0.1.12", - "@noxcturnal/noxcturnal-win32-x64-msvc": "0.1.12" + "@noxcturnal/noxcturnal-darwin-arm64": "0.1.14", + "@noxcturnal/noxcturnal-darwin-x64": "0.1.14", + "@noxcturnal/noxcturnal-linux-arm64-gnu": "0.1.14", + "@noxcturnal/noxcturnal-linux-arm64-musl": "0.1.14", + "@noxcturnal/noxcturnal-linux-x64-gnu": "0.1.14", + "@noxcturnal/noxcturnal-linux-x64-musl": "0.1.14", + "@noxcturnal/noxcturnal-win32-arm64-msvc": "0.1.14", + "@noxcturnal/noxcturnal-win32-x64-msvc": "0.1.14" } }, "node_modules/npm-package-arg": { @@ -9581,31 +9537,6 @@ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "license": "MIT" }, - "node_modules/path-scurry": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz", - "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==", - "license": "BlueOak-1.0.0", - "dependencies": { - "lru-cache": "^11.0.0", - "minipass": "^7.1.2" - }, - "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/path-scurry/node_modules/lru-cache": { - "version": "11.5.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz", - "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==", - "license": "BlueOak-1.0.0", - "engines": { - "node": "20 || >=22" - } - }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", @@ -9667,9 +9598,9 @@ } }, "node_modules/postcss": { - "version": "8.5.32", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.32.tgz", - "integrity": "sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==", + "version": "8.5.33", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.33.tgz", + "integrity": "sha512-RVHEU9/Pp1Fnjr/MpAJsZoADukCKhfIi15OunEYiGktIkYLkPVvC1sioWolGDS7XByMTx9m/IGbro0Js13zhnQ==", "funding": [ { "type": "opencollective", @@ -10761,12 +10692,12 @@ } }, "node_modules/source-map-js": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", - "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.4.tgz", + "integrity": "sha512-J7ZjMvHd9O1fcT/5V09QWaaSl2BbWx3F6O08spde82Namf9UB0GxRVIPiNbVsdKkoizHiSpTodo3vp2bAy91MA==", "license": "BSD-3-Clause", "engines": { - "node": ">=0.10.0" + "node": ">=6.0.0" } }, "node_modules/source-map-support": { diff --git a/mobile/package.json b/mobile/package.json index 84b5bb8..0975167 100644 --- a/mobile/package.json +++ b/mobile/package.json @@ -3,23 +3,23 @@ "version": "1.0.0", "main": "expo-router/entry", "dependencies": { - "@expo/ui": "~58.0.27", + "@expo/ui": "~58.0.29", "@expo/vector-icons": "^15.0.2", "@react-native-async-storage/async-storage": "2.2.0", - "expo": "~58.0.23", + "expo": "~58.0.26", "expo-constants": "~58.0.15", "expo-device": "~58.0.5", "expo-font": "~58.0.11", "expo-glass-effect": "~58.0.5", "expo-image": "~58.0.18", - "expo-linking": "~58.0.16", - "expo-router": "~58.0.30", + "expo-linking": "~58.0.17", + "expo-router": "~58.0.32", "expo-secure-store": "~58.0.3", - "expo-splash-screen": "~58.0.13", - "expo-status-bar": "~58.0.4", - "expo-symbols": "~58.0.4", + "expo-splash-screen": "~58.0.14", + "expo-status-bar": "~58.0.5", + "expo-symbols": "~58.0.5", "expo-system-ui": "~58.0.7", - "expo-web-browser": "~58.0.7", + "expo-web-browser": "~58.1.0", "react": "19.3.0", "react-dom": "19.3.0", "react-native": "0.88.1", From fb9ed71602164df17b0a0c3ebf072812b95ec218 Mon Sep 17 00:00:00 2001 From: DarynaBb Date: Tue, 24 Nov 2026 10:20:07 +0100 Subject: [PATCH 05/12] feat(app): add auth API functions --- mobile/src/api/auth.ts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 mobile/src/api/auth.ts diff --git a/mobile/src/api/auth.ts b/mobile/src/api/auth.ts new file mode 100644 index 0000000..e4d2636 --- /dev/null +++ b/mobile/src/api/auth.ts @@ -0,0 +1,32 @@ +import { apiRequest } from './client'; + +export type User = { + id: number; + name: string; + email: string; +}; + +type LoginResponse = { + access_token: string; + token_type: string; +}; + +export function register(name: string, email: string, password: string): Promise { + return apiRequest('/register', { + method: 'POST', + body: { name, email, password }, + }); +} + +export async function login(email: string, password: string): Promise { + const data = await apiRequest('/login', { + method: 'POST', + body: { email, password }, + }); + + return data.access_token; +} + +export function getMe(token: string): Promise { + return apiRequest('/me', { token }); +} From 326afc51cb8bcad8917d046f967e89edb0bd2a92 Mon Sep 17 00:00:00 2001 From: DarynaBb Date: Tue, 24 Nov 2026 12:42:58 +0100 Subject: [PATCH 06/12] feat(app): add auth context with SecureStore --- mobile/src/context/AuthContext.tsx | 88 ++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 mobile/src/context/AuthContext.tsx diff --git a/mobile/src/context/AuthContext.tsx b/mobile/src/context/AuthContext.tsx new file mode 100644 index 0000000..1ee4a2b --- /dev/null +++ b/mobile/src/context/AuthContext.tsx @@ -0,0 +1,88 @@ +import * as SecureStore from 'expo-secure-store'; +import { createContext, useContext, useEffect, useState, type ReactNode } from 'react'; + +import { getMe, login, register, type User } from '@/api/auth'; +import { ApiError } from '@/api/client'; + +const TOKEN_KEY = 'authToken'; + +type AuthContextValue = { + user: User | null; + token: string | null; + isLoading: boolean; + signIn: (email: string, password: string) => Promise; + signUp: (name: string, email: string, password: string) => Promise; + signOut: () => Promise; +}; + +const AuthContext = createContext(null); + +export function AuthProvider({ children }: { children: ReactNode }) { + const [user, setUser] = useState(null); + const [token, setToken] = useState(null); + const [isLoading, setIsLoading] = useState(true); + + useEffect(() => { + async function restoreSession() { + try { + const savedToken = await SecureStore.getItemAsync(TOKEN_KEY); + + if (!savedToken) { + return; + } + + const currentUser = await getMe(savedToken); + setToken(savedToken); + setUser(currentUser); + } catch (error) { + if (error instanceof ApiError && error.status === 401) { + await SecureStore.deleteItemAsync(TOKEN_KEY).catch(() => {}); + } else { + console.warn('Failed to restore session', error); + } + } finally { + setIsLoading(false); + } + } + restoreSession(); + }, []); + + const signIn = async (email: string, password: string) => { + const newToken = await login(email, password); + const currentUser = await getMe(newToken); + + await SecureStore.setItemAsync(TOKEN_KEY, newToken); + setToken(newToken); + setUser(currentUser); + }; + + const signUp = async (name: string, email: string, password: string) => { + await register(name, email, password); + await signIn(email, password); + }; + + const signOut = async () => { + try { + await SecureStore.deleteItemAsync(TOKEN_KEY); + } catch (error) { + console.warn('Failed to delete token', error); + } finally { + setToken(null); + setUser(null); + } + }; + + return ( + + {children} + + ); +} + +export function useAuth() { + const context = useContext(AuthContext); + if (!context) { + throw new Error('useAuth must be used inside AuthProvider'); + } + return context; +} From 25c8b8ffe1ae540d1e47b4f441b48832f3d59d3a Mon Sep 17 00:00:00 2001 From: DarynaBb Date: Tue, 24 Nov 2026 13:35:57 +0100 Subject: [PATCH 07/12] feat(app): add request timeout to API client --- mobile/src/api/client.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mobile/src/api/client.ts b/mobile/src/api/client.ts index 40371d0..489a082 100644 --- a/mobile/src/api/client.ts +++ b/mobile/src/api/client.ts @@ -1,4 +1,5 @@ import { API_URL } from './config'; +const REQUEST_TIMEOUT_MS = 10000; type RequestOptions = { method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'; @@ -43,16 +44,21 @@ export async function apiRequest(path: string, options: RequestOptions = {}): } let response: Response; + const controller = new AbortController(); + const timeoutId = setTimeout(() => controller.abort(), REQUEST_TIMEOUT_MS); try { response = await fetch(`${API_URL}${path}`, { method: options.method ?? 'GET', headers, body: options.body !== undefined ? JSON.stringify(options.body) : undefined, + signal: controller.signal, }); } catch { // Network error: no Wi-Fi, wrong IP, backend not running throw new ApiError(0, 'Server is not reachable. Check your connection'); + } finally { + clearTimeout(timeoutId); } const data = await response.json().catch(() => null); From 8e595d9a353353e2c374928d1fc1b1836756fc39 Mon Sep 17 00:00:00 2001 From: DarynaBb Date: Tue, 24 Nov 2026 13:36:08 +0100 Subject: [PATCH 08/12] feat(app): add login and register screens with auth routing --- mobile/src/app/(auth)/_layout.tsx | 10 ++ mobile/src/app/(auth)/login.tsx | 205 +++++++++++++++++++++++++ mobile/src/app/(auth)/register.tsx | 238 +++++++++++++++++++++++++++++ mobile/src/app/_layout.tsx | 25 ++- 4 files changed, 471 insertions(+), 7 deletions(-) create mode 100644 mobile/src/app/(auth)/_layout.tsx create mode 100644 mobile/src/app/(auth)/login.tsx create mode 100644 mobile/src/app/(auth)/register.tsx diff --git a/mobile/src/app/(auth)/_layout.tsx b/mobile/src/app/(auth)/_layout.tsx new file mode 100644 index 0000000..9f6b77a --- /dev/null +++ b/mobile/src/app/(auth)/_layout.tsx @@ -0,0 +1,10 @@ +import { Stack } from 'expo-router'; + +export default function AuthLayout() { + return ( + + + + + ); +} diff --git a/mobile/src/app/(auth)/login.tsx b/mobile/src/app/(auth)/login.tsx new file mode 100644 index 0000000..c35914c --- /dev/null +++ b/mobile/src/app/(auth)/login.tsx @@ -0,0 +1,205 @@ +import { Link } from 'expo-router'; +import { useState } from 'react'; +import { + ActivityIndicator, + KeyboardAvoidingView, + Platform, + Pressable, + StyleSheet, + Text, + TextInput, + View, +} from 'react-native'; +import { useSafeAreaInsets } from 'react-native-safe-area-context'; + +import { ApiError } from '@/api/client'; +import { useAuth } from '@/context/AuthContext'; + +const EMAIL_PATTERN = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; + +// Backend messages are in English, the UI is in German +function getErrorMessage(error: unknown): string { + if (error instanceof ApiError) { + if (error.status === 401) { + return 'E-Mail oder Passwort ist falsch.'; + } + if (error.status === 0) { + return 'Server nicht erreichbar. Bitte Verbindung prüfen.'; + } + } + return 'Etwas ist schiefgelaufen. Bitte versuche es erneut.'; +} + +export default function LoginScreen() { + const { signIn } = useAuth(); + const insets = useSafeAreaInsets(); + + const [email, setEmail] = useState(''); + const [password, setPassword] = useState(''); + const [error, setError] = useState(null); + const [isSubmitting, setIsSubmitting] = useState(false); + + const handleLogin = async () => { + const trimmedEmail = email.trim(); + + // Client-side validation before calling the API + if (!EMAIL_PATTERN.test(trimmedEmail)) { + setError('Bitte gib eine gültige E-Mail-Adresse ein.'); + return; + } + if (password.length === 0) { + setError('Bitte gib dein Passwort ein.'); + return; + } + + setError(null); + setIsSubmitting(true); + + try { + await signIn(trimmedEmail, password); + // No navigation here: _layout.tsx switches to the tabs when user is set + } catch (err) { + setError(getErrorMessage(err)); + } finally { + setIsSubmitting(false); + } + }; + + return ( + + + Anmelden + + + + E-Mail + + + + + Passwort + + + + {error && {error}} + + + + + + {isSubmitting ? ( + + ) : ( + Anmelden + )} + + + + Noch kein Konto?{' '} + + Registrieren + + + + + ); +} + +const styles = StyleSheet.create({ + flex: { + flex: 1, + backgroundColor: '#FFFFFF', + }, + container: { + flex: 1, + paddingHorizontal: 24, + gap: 28, + }, + title: { + fontSize: 28, + lineHeight: 34, + fontWeight: '700', + color: '#18181B', + }, + form: { + gap: 16, + }, + field: { + gap: 6, + }, + label: { + fontSize: 14, + fontWeight: '600', + color: '#18181B', + }, + input: { + height: 48, + paddingHorizontal: 14, + borderWidth: 1.5, + borderColor: '#18181B', + fontSize: 16, + color: '#18181B', + }, + error: { + fontSize: 14, + lineHeight: 20, + color: '#B91C1C', + }, + spacer: { + flexGrow: 1, + }, + button: { + height: 52, + alignItems: 'center', + justifyContent: 'center', + backgroundColor: '#18181B', + }, + buttonDisabled: { + backgroundColor: '#A1A1AA', + }, + buttonText: { + fontSize: 16, + fontWeight: '600', + color: '#FFFFFF', + }, + switchText: { + textAlign: 'center', + fontSize: 14, + color: '#52525B', + }, + switchLink: { + fontWeight: '600', + color: '#18181B', + }, +}); diff --git a/mobile/src/app/(auth)/register.tsx b/mobile/src/app/(auth)/register.tsx new file mode 100644 index 0000000..6f1576e --- /dev/null +++ b/mobile/src/app/(auth)/register.tsx @@ -0,0 +1,238 @@ +import { Link } from 'expo-router'; +import { useState } from 'react'; +import { + ActivityIndicator, + KeyboardAvoidingView, + Platform, + Pressable, + ScrollView, + StyleSheet, + Text, + TextInput, + View, +} from 'react-native'; +import { useSafeAreaInsets } from 'react-native-safe-area-context'; + +import { ApiError } from '@/api/client'; +import { useAuth } from '@/context/AuthContext'; + +const EMAIL_PATTERN = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; + +// Same limits as backend/app/schemas/user.py +const NAME_MIN = 2; +const NAME_MAX = 50; +const PASSWORD_MIN = 8; +const PASSWORD_MAX = 128; + +function getErrorMessage(error: unknown): string { + if (error instanceof ApiError) { + if (error.status === 409) { + return 'Diese E-Mail ist bereits registriert.'; + } + if (error.status === 422) { + return 'Bitte überprüfe die Eingaben.'; + } + if (error.status === 0) { + return 'Server nicht erreichbar. Bitte Verbindung prüfen.'; + } + } + return 'Etwas ist schiefgelaufen. Bitte versuche es erneut.'; +} + +export default function RegisterScreen() { + const { signUp } = useAuth(); + const insets = useSafeAreaInsets(); + + const [name, setName] = useState(''); + const [email, setEmail] = useState(''); + const [password, setPassword] = useState(''); + const [error, setError] = useState(null); + const [isSubmitting, setIsSubmitting] = useState(false); + + const handleRegister = async () => { + const trimmedName = name.trim(); + const trimmedEmail = email.trim(); + + // Client-side validation before calling the API + if (trimmedName.length < NAME_MIN || trimmedName.length > NAME_MAX) { + setError(`Der Name muss ${NAME_MIN} bis ${NAME_MAX} Zeichen lang sein.`); + return; + } + if (!EMAIL_PATTERN.test(trimmedEmail)) { + setError('Bitte gib eine gültige E-Mail-Adresse ein.'); + return; + } + if (password.length < PASSWORD_MIN || password.length > PASSWORD_MAX) { + setError(`Das Passwort muss mindestens ${PASSWORD_MIN} Zeichen lang sein.`); + return; + } + + setError(null); + setIsSubmitting(true); + + try { + await signUp(trimmedName, trimmedEmail, password); + // No navigation here: _layout.tsx switches to the tabs when user is set + } catch (err) { + setError(getErrorMessage(err)); + } finally { + setIsSubmitting(false); + } + }; + + return ( + + + Konto erstellen + + + + Name + + + + + E-Mail + + + + + Passwort + + Mindestens {PASSWORD_MIN} Zeichen + + + {error && {error}} + + + + + + {isSubmitting ? ( + + ) : ( + Registrieren + )} + + + + Schon ein Konto?{' '} + + Anmelden + + + + + ); +} + +const styles = StyleSheet.create({ + flex: { + flex: 1, + backgroundColor: '#FFFFFF', + }, + container: { + flexGrow: 1, + paddingHorizontal: 24, + gap: 28, + }, + title: { + fontSize: 28, + lineHeight: 34, + fontWeight: '700', + color: '#18181B', + }, + form: { + gap: 16, + }, + field: { + gap: 6, + }, + label: { + fontSize: 14, + fontWeight: '600', + color: '#18181B', + }, + input: { + height: 48, + paddingHorizontal: 14, + borderWidth: 1.5, + borderColor: '#18181B', + fontSize: 16, + color: '#18181B', + }, + hint: { + fontSize: 13, + color: '#52525B', + }, + error: { + fontSize: 14, + lineHeight: 20, + color: '#B91C1C', + }, + spacer: { + flexGrow: 1, + }, + button: { + height: 52, + alignItems: 'center', + justifyContent: 'center', + backgroundColor: '#18181B', + }, + buttonDisabled: { + backgroundColor: '#A1A1AA', + }, + buttonText: { + fontSize: 16, + fontWeight: '600', + color: '#FFFFFF', + }, + switchText: { + textAlign: 'center', + fontSize: 14, + color: '#52525B', + }, + switchLink: { + fontWeight: '600', + color: '#18181B', + }, +}); diff --git a/mobile/src/app/_layout.tsx b/mobile/src/app/_layout.tsx index cfbe2e3..1e2977e 100644 --- a/mobile/src/app/_layout.tsx +++ b/mobile/src/app/_layout.tsx @@ -1,22 +1,31 @@ import { Stack } from 'expo-router'; +import { AuthProvider, useAuth } from '@/context/AuthContext'; import { OnboardingProvider, useOnboarding } from '@/context/onboarding'; function RootNavigator() { - const { accepted, isLoading } = useOnboarding(); + const { accepted, isLoading: isOnboardingLoading } = useOnboarding(); + const { user, isLoading: isAuthLoading } = useAuth(); - if (isLoading) { + if (isOnboardingLoading || isAuthLoading) { return null; } + const isLoggedIn = user !== null; + return ( - - - - + + + + + + + + + ); } @@ -24,7 +33,9 @@ function RootNavigator() { export default function RootLayout() { return ( - + + + ); } From 0fe817e00893e34ffc8db3c6fa6074a98fc9b5a3 Mon Sep 17 00:00:00 2001 From: DarynaBb Date: Tue, 24 Nov 2026 14:03:53 +0100 Subject: [PATCH 09/12] fix logout redirect --- mobile/src/app/(auth)/_layout.tsx | 10 ---------- mobile/src/app/_layout.tsx | 3 ++- mobile/src/app/{(auth) => }/login.tsx | 0 mobile/src/app/{(auth) => }/register.tsx | 0 4 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 mobile/src/app/(auth)/_layout.tsx rename mobile/src/app/{(auth) => }/login.tsx (100%) rename mobile/src/app/{(auth) => }/register.tsx (100%) diff --git a/mobile/src/app/(auth)/_layout.tsx b/mobile/src/app/(auth)/_layout.tsx deleted file mode 100644 index 9f6b77a..0000000 --- a/mobile/src/app/(auth)/_layout.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import { Stack } from 'expo-router'; - -export default function AuthLayout() { - return ( - - - - - ); -} diff --git a/mobile/src/app/_layout.tsx b/mobile/src/app/_layout.tsx index 1e2977e..d3b65b1 100644 --- a/mobile/src/app/_layout.tsx +++ b/mobile/src/app/_layout.tsx @@ -19,7 +19,8 @@ function RootNavigator() { - + + diff --git a/mobile/src/app/(auth)/login.tsx b/mobile/src/app/login.tsx similarity index 100% rename from mobile/src/app/(auth)/login.tsx rename to mobile/src/app/login.tsx diff --git a/mobile/src/app/(auth)/register.tsx b/mobile/src/app/register.tsx similarity index 100% rename from mobile/src/app/(auth)/register.tsx rename to mobile/src/app/register.tsx From d97afb8893807fa6e5d376091c0882cc561050e8 Mon Sep 17 00:00:00 2001 From: DarynaBb Date: Tue, 24 Nov 2026 14:04:05 +0100 Subject: [PATCH 10/12] feat(app): show user info and logout on profile tab --- mobile/src/app/(tabs)/profile.tsx | 75 ++++++++++++++++++++++++++++++- 1 file changed, 73 insertions(+), 2 deletions(-) diff --git a/mobile/src/app/(tabs)/profile.tsx b/mobile/src/app/(tabs)/profile.tsx index aa12aa5..8de9279 100644 --- a/mobile/src/app/(tabs)/profile.tsx +++ b/mobile/src/app/(tabs)/profile.tsx @@ -1,5 +1,76 @@ -import PlaceholderScreen from '@/components/PlaceholderScreen'; +import { Pressable, StyleSheet, Text, View } from 'react-native'; +import { useSafeAreaInsets } from 'react-native-safe-area-context'; + +import { useAuth } from '@/context/AuthContext'; export default function Profile() { - return ; + const { user, signOut } = useAuth(); + const insets = useSafeAreaInsets(); + + return ( + + Profil + + + Name + {user?.name} + + E-Mail + {user?.email} + + + + + + Abmelden + + + ); } + +const styles = StyleSheet.create({ + container: { + flex: 1, + paddingHorizontal: 24, + paddingBottom: 24, + backgroundColor: '#FFFFFF', + gap: 28, + }, + title: { + fontSize: 28, + lineHeight: 34, + fontWeight: '700', + color: '#18181B', + }, + card: { + gap: 4, + padding: 16, + borderWidth: 1.5, + borderColor: '#18181B', + }, + label: { + marginTop: 8, + fontSize: 13, + color: '#52525B', + }, + value: { + fontSize: 16, + fontWeight: '600', + color: '#18181B', + }, + spacer: { + flexGrow: 1, + }, + button: { + height: 52, + alignItems: 'center', + justifyContent: 'center', + borderWidth: 1.5, + borderColor: '#18181B', + }, + buttonText: { + fontSize: 16, + fontWeight: '600', + color: '#18181B', + }, +}); \ No newline at end of file From 4f6ba865423c1da17b46216aeb7f7ba888c757a5 Mon Sep 17 00:00:00 2001 From: DarynaBb Date: Tue, 24 Nov 2026 14:05:09 +0100 Subject: [PATCH 11/12] style(app): format profile screen --- mobile/src/app/(tabs)/profile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/src/app/(tabs)/profile.tsx b/mobile/src/app/(tabs)/profile.tsx index 8de9279..f4a9a03 100644 --- a/mobile/src/app/(tabs)/profile.tsx +++ b/mobile/src/app/(tabs)/profile.tsx @@ -73,4 +73,4 @@ const styles = StyleSheet.create({ fontWeight: '600', color: '#18181B', }, -}); \ No newline at end of file +}); From 44b4ddc097d02d424c682ae548f2f2331013a0ba Mon Sep 17 00:00:00 2001 From: DarynaBb Date: Tue, 24 Nov 2026 14:48:37 +0100 Subject: [PATCH 12/12] fix(app): show password length limits and document offline start --- mobile/src/app/register.tsx | 2 +- mobile/src/context/AuthContext.tsx | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mobile/src/app/register.tsx b/mobile/src/app/register.tsx index 6f1576e..dedd18f 100644 --- a/mobile/src/app/register.tsx +++ b/mobile/src/app/register.tsx @@ -63,7 +63,7 @@ export default function RegisterScreen() { return; } if (password.length < PASSWORD_MIN || password.length > PASSWORD_MAX) { - setError(`Das Passwort muss mindestens ${PASSWORD_MIN} Zeichen lang sein.`); + setError(`Das Passwort muss ${PASSWORD_MIN} bis ${PASSWORD_MAX} Zeichen lang sein.`); return; } diff --git a/mobile/src/context/AuthContext.tsx b/mobile/src/context/AuthContext.tsx index 1ee4a2b..e7d59b1 100644 --- a/mobile/src/context/AuthContext.tsx +++ b/mobile/src/context/AuthContext.tsx @@ -38,6 +38,8 @@ export function AuthProvider({ children }: { children: ReactNode }) { if (error instanceof ApiError && error.status === 401) { await SecureStore.deleteItemAsync(TOKEN_KEY).catch(() => {}); } else { + // Server not reachable: keep the token so the next app start can log in again. + // The user sees the login screen for now (intended for the MVP). console.warn('Failed to restore session', error); } } finally {