e3ed03a471a71535d1525adfc8cea34f44e66149
Whisper ".en" models reject `task`/`language`; transformers.js throws "Cannot specify `task` or `language` for an English-only model" if either is passed — and the web engine passed `task: 'transcribe'` (plus a possibly-undefined `language`) unconditionally. Since the default model is tiny.en, web/PWA transcription failed for every default user. Only add `task`/`language` for multilingual models now (translation also requires a multilingual model), and never pass an explicit `undefined` language (which trips the same check). Mirror the same gate on native (whisper.rn) so a .en model is never asked to do a language/translate it can't. tsc clean, 279 tests pass, web export OK. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Welcome to your Expo app 👋
This is an Expo project created with create-expo-app.
Get started
-
Install dependencies
npm install -
Start the app
npx expo start
In the output, you'll find options to open the app in a
- development build
- Android emulator
- iOS simulator
- Expo Go, a limited sandbox for trying out app development with Expo
You can start developing by editing the files inside the app directory. This project uses file-based routing.
Get a fresh project
When you're ready, run:
npm run reset-project
This command will move the starter code to the app-example directory and create a blank app directory where you can start developing.
Other setup steps
- To set up ESLint for linting, run
npx expo lint, or follow our guide on "Using ESLint and Prettier" - If you'd like to set up unit testing, follow our guide on "Unit Testing with Jest"
- Learn more about the TypeScript setup in this template in our guide on "Using TypeScript"
Learn more
To learn more about developing your project with Expo, look at the following resources:
- Expo documentation: Learn fundamentals, or go into advanced topics with our guides.
- Learn Expo tutorial: Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web.
Join the community
Join our community of developers creating universal apps.
- Expo on GitHub: View our open source platform and contribute.
- Discord community: Chat with Expo users and ask questions.
Languages
TypeScript
93.7%
Shell
3.3%
Dockerfile
2.1%
JavaScript
0.8%
CSS
0.1%