diff --git a/apps/rebreak-native/app/debug.tsx b/apps/rebreak-native/app/debug.tsx index 596ca06..3c55b96 100644 --- a/apps/rebreak-native/app/debug.tsx +++ b/apps/rebreak-native/app/debug.tsx @@ -7,6 +7,7 @@ import { TouchableOpacity, Alert, Clipboard, + Linking, Platform, } from 'react-native'; import { SafeAreaView } from 'react-native-safe-area-context'; @@ -129,6 +130,8 @@ export default function DebugScreen() { {Platform.OS === 'ios' ? : null} + + + Alert.alert('Fehler', String(e?.message ?? e)), + ); + } + + function Row({ + icon, + label, + onPress, + }: { + icon: keyof typeof Ionicons.glyphMap; + label: string; + onPress: () => void; + }) { + return ( + + + + {label} + + + + ); + } + + return ( + + + + + + + Redirect-Test (Layer 1) + + + + + Reproduziert den Casino-Mail-Fall: erlaubter Zwischen-Host → 302-Redirect + → blockierte Domain (tipico.de). Beide tippen, dann oben den Protection + Log vergleichen — kommt ein „BLOCKED: tipico.de"? + + + open('https://' + BLOCKED)} + /> + open(redirectUrl)} + /> + + ); +} + // ─── Realtime Status Card ────────────────────────────────────────────────── function RealtimeStatusCard() {