react >=18, react-native >=0.71, react-native-fs, whisper.rn.isDownloading boolean True if a model is currently downloading progressPercentage number Download progress (0–100%) whisperContext WhisperContext | null Current initialized Whisper context currentModelId string | null ID of the currently initialized model downloadedModels Record<string, ModelFileInfo> Info about downloaded models error string | null Last error messageinitializeWhisper modelId: string Promise<WhisperContext> Downloads (if needed) and initializes a model downloadModel model: WhisperModel Promise<string> Downloads a model to local storage releaseContext - Promise<void> Releases the current Whisper context deleteModel modelId: string Promise<void> Deletes a downloaded model (cannot delete if in use)tiny, small, medium) are supported.ios/YourApp/Info.plist:android/app/src/main/AndroidManifest.xml:android/app/proguard-rules.pro:releaseContext() before switching models or when a component unmounts.tiny, small, medium).pod install, clean build.Posted Nov 15, 2025
Developed a React Native hook for managing local Whisper AI models.
0
0