/** * Voice AI Screen - Expo Go Stub * This screen requires native modules that are not available in Expo Go. * A development build is required for the full voice functionality. */ import React from 'react'; import { View, Text, StyleSheet, TouchableOpacity } from 'react-native'; import { Ionicons } from '@expo/vector-icons'; import { SafeAreaView } from 'react-native-safe-area-context'; import { useRouter } from 'expo-router'; import { AppColors, FontSizes, FontWeights, Spacing, BorderRadius } from '@/constants/theme'; export default function VoiceAIScreen() { const router = useRouter(); return ( Voice AI Not Available Voice calls require a development build.{'\n'} Expo Go does not support native audio modules. router.push('/(tabs)/chat' as any)} > Use Text Chat Instead ); } const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: AppColors.background, }, content: { flex: 1, justifyContent: 'center', alignItems: 'center', padding: Spacing.xl, }, iconContainer: { width: 120, height: 120, borderRadius: 60, backgroundColor: AppColors.surfaceSecondary, justifyContent: 'center', alignItems: 'center', marginBottom: Spacing.xl, }, title: { fontSize: FontSizes.xl, fontWeight: FontWeights.bold, color: AppColors.textPrimary, marginBottom: Spacing.sm, textAlign: 'center', }, description: { fontSize: FontSizes.base, color: AppColors.textMuted, textAlign: 'center', lineHeight: 22, marginBottom: Spacing.xl, }, button: { flexDirection: 'row', alignItems: 'center', backgroundColor: AppColors.primary, paddingHorizontal: Spacing.xl, paddingVertical: Spacing.md, borderRadius: BorderRadius.lg, gap: Spacing.sm, }, buttonText: { fontSize: FontSizes.base, fontWeight: FontWeights.semibold, color: AppColors.white, }, });