一些检查失败了
automerge / automerge (push) Has been cancelled
react-native-android-build-apk / AssembleRelease (push) Has been cancelled
Build macOS M1 / Main (push) Has been cancelled
Joplin Continuous Integration / Main (macos-15-intel) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-11-vs2026-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-2025) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04-arm) (push) Has been cancelled
Joplin UI tests / Main (ubuntu-22.04) (push) Has been cancelled
Joplin UI tests / Main (windows-2025) (push) Has been cancelled
Joplin UI tests / Mobile (push) Has been cancelled
Close stale issues / ProcessStaleIssues (push) Has been cancelled
18 行
737 B
Markdown
18 行
737 B
Markdown
# react-native-whisper-voice-typing
|
|
|
|
Wraps `whisper.cpp` for use in React Native.
|
|
|
|
## Development
|
|
|
|
This package uses [react-native-nitro-modules](https://nitro.margelo.com/docs/what-is-nitro) and was scaffolded using [`nitrogen`](https://nitro.margelo.com/docs/how-to-build-a-nitro-module#1-create-a-nitro-module).
|
|
|
|
### Adding a new native hybrid object
|
|
|
|
Process summary:
|
|
1. Add a TypeScript type declaration to `src/specs/Whisper.nitro.ts`.
|
|
2. (Optional) Update `nitro.json`'s autolinking section.
|
|
3. Run `yarn build`. This regenerates the `nitrogen/generated` folder.
|
|
4. Implement the new interface(s) in `android/src/main/java/` or `cpp/`.
|
|
|
|
See [the documentation](https://nitro.margelo.com/docs/nitro-modules) for full instructions.
|