- components/AppAlert.tsx — one parametrized alert composable (error / success / confirm), replacing scattered Alert.alert(). error mode sanitizes raw response bodies (strips HTML, detects 413/5xx/nginx → friendly generic text, raw text only in a collapsible "Details" section). Light backdrop, TouchableOpacity. - profile/AvatarCropSheet — compress the cropped avatar via expo-image-manipulator (max 512×512, JPEG q0.7 → ~50–150 KB) before upload, so the nginx 1 MB cap on staging.rebreak.org/api/ no longer 413s; compress errors shown via AppAlert. (adds expo-image-manipulator ~14.0.7 — needs a fresh dev build) - lib/protection.ts — FAMILY_CONTROLS_AVAILABLE = expoConfig.extra.familyControlsEnabled - app/(app)/blocker.tsx — App-Lock toggle only rendered when FAMILY_CONTROLS_AVAILABLE; otherwise a quiet "App-Lock — coming soon" row + "bald" badge. The URL-filter banner / ProtectionLockedCard stay positive (the filter carries the protection). - de/en strings for alert.* and blocker.app_lock_coming_soon_* Follow-ups: nginx client_max_body_size → ≥5 MB on staging (backyard, separate); ConfirmAlert/SuccessAlert call-site sweep onto AppAlert (separate). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
80 lines
2.5 KiB
JSON
80 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-manipulator": "~14.0.7",
|
|
"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"
|
|
}
|
|
}
|