Sergei f2803ca5db fix(stt): graceful degradation for Expo Go
Handle missing native module @jamsch/expo-speech-recognition gracefully.
In Expo Go the native module is not available, which was causing the entire
_layout.tsx to fail to export, breaking tab navigation.

- Use dynamic require() with try/catch instead of static import
- Initialize ExpoSpeechRecognitionModule and useSpeechRecognitionEvent as no-ops
- Check module availability before calling any native methods
- isAvailable state properly reflects module presence

Tab navigation now works in Expo Go (with STT disabled).
Full STT functionality requires a development build.
2026-01-27 17:03:56 -08:00
..