import { View, Text, TouchableOpacity } from 'react-native'; import { useRouter } from 'expo-router'; import { SafeAreaView } from 'react-native-safe-area-context'; import { useTranslation } from 'react-i18next'; /** * Shown when the backend returns a device-limit error (HTTP 403 with device_limit_reached). * Phase 2: static info + redirect to sign-in. * Phase 4+: integrate with device-management store to show active devices + revoke option. */ export default function DeviceLimitScreen() { const router = useRouter(); const { t } = useTranslation(); return ( 📱 {t('auth.deviceLimitTitle')} {t('auth.deviceLimitDesc')} {/* TODO Phase 4: device management — list active devices + revoke button */} router.replace('/signin')} activeOpacity={0.8} className="bg-rebreak-500 px-8 py-4 rounded-xl" > {t('auth.toLogin')} router.push('/signin')} activeOpacity={0.7} className="py-3 mt-2" > {t('auth.deviceLimitUpgrade')} ); }