Privacy/stigma layer on top of the authenticated Supabase session — re-auth on open so nobody but the user can open Rebreak. Not a login replacement. - expo-local-authentication; NSFaceIDUsageDescription in app.config - stores/appLock.ts: persisted `enabled` pref, in-memory `locked`, device- capability check (`available`), device-passcode fallback on biometric failure - AppLockGate wraps the root layout: locks immediately on `background` (not `inactive` → app-switcher peek doesn't lock), renders LockScreen while `enabled && locked && session` - LockScreen: dark brand screen, auto-prompts on mount + on return from background, "Abmelden" escape hatch (clears session → fresh login next launch) - Settings: new "Sicherheit" section, native UISwitch; enabling requires a successful biometric prompt first; row disabled + explained when device has no biometrics/passcode - de/en strings Per product call: the lock gates the whole app incl. SOS (SOS already requires an authenticated user, so there's no unauthenticated path to carve out). Cold-start: appLock init blocks the splash → `locked` is set before first paint, no flash of unlocked content. ios/ is gitignored so EAS prebuilds the new module. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
79 lines
2.5 KiB
JSON
79 lines
2.5 KiB
JSON
{
|
|
"name": "@trucko/rebreak-native",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"main": "expo-router/entry",
|
|
"scripts": {
|
|
"start": "expo start --dev-client",
|
|
"ios": "expo run:ios",
|
|
"android": "expo run:android",
|
|
"prebuild": "expo prebuild --clean",
|
|
"lint": "expo lint",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@expo-google-fonts/nunito": "^0.2.3",
|
|
"@expo/metro-runtime": "~6.1.2",
|
|
"@expo/react-native-action-sheet": "^4.1.1",
|
|
"@expo/vector-icons": "^15.1.1",
|
|
"@lodev09/react-native-true-sheet": "^3.10.1",
|
|
"@react-native-async-storage/async-storage": "^2.1.2",
|
|
"@react-native-community/slider": "^5.0.1",
|
|
"@react-native-menu/menu": "^2.0.0",
|
|
"@react-native-picker/picker": "2.11.1",
|
|
"@react-navigation/native": "^7.0.0",
|
|
"@supabase/supabase-js": "^2.46.0",
|
|
"@tanstack/react-query": "^5.59.0",
|
|
"expo": "^54.0.34",
|
|
"expo-apple-authentication": "~8.0.8",
|
|
"expo-application": "~7.0.8",
|
|
"expo-av": "~16.0.8",
|
|
"expo-build-properties": "~1.0.10",
|
|
"expo-clipboard": "^8.0.8",
|
|
"expo-constants": "~18.0.13",
|
|
"expo-dev-client": "~6.0.21",
|
|
"expo-file-system": "~19.0.22",
|
|
"expo-font": "~14.0.11",
|
|
"expo-haptics": "^15.0.8",
|
|
"expo-image-picker": "~17.0.11",
|
|
"expo-linking": "~8.0.12",
|
|
"expo-local-authentication": "~17.0.8",
|
|
"expo-localization": "~17.0.8",
|
|
"expo-modules-core": "^3.0.30",
|
|
"expo-notifications": "~0.32.17",
|
|
"expo-router": "~6.0.23",
|
|
"expo-speech": "~14.0.8",
|
|
"expo-splash-screen": "~31.0.13",
|
|
"expo-status-bar": "~3.0.9",
|
|
"expo-web-browser": "~15.0.11",
|
|
"i18next": "^23.16.0",
|
|
"lottie-react-native": "7.3.6",
|
|
"nativewind": "^4.1.0",
|
|
"react": "19.1.0",
|
|
"react-dom": "19.1.0",
|
|
"react-hook-form": "^7.53.0",
|
|
"react-i18next": "^15.1.0",
|
|
"react-native": "0.81.5",
|
|
"react-native-bottom-tabs": "^1.2.0",
|
|
"react-native-gesture-handler": "~2.28.0",
|
|
"react-native-keyboard-controller": "^1.21.7",
|
|
"react-native-mmkv": "^3.1.0",
|
|
"react-native-reanimated": "~4.1.7",
|
|
"react-native-safe-area-context": "5.6.2",
|
|
"react-native-screens": "~4.16.0",
|
|
"react-native-sse": "^1.2.1",
|
|
"react-native-svg": "15.12.1",
|
|
"react-native-url-polyfill": "^2.0.0",
|
|
"react-native-worklets": "~0.5.1",
|
|
"rive-react-native": "^9.0.1",
|
|
"tailwindcss": "^3.4.14",
|
|
"valibot": "^1.2.0",
|
|
"zustand": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.25.0",
|
|
"@types/react": "~19.2.14",
|
|
"typescript": "~5.8.3"
|
|
}
|
|
}
|