voice icon indicating copy to clipboard operation
voice copied to clipboard

RN new arch support is not available on latest version

Open asafkorem opened this issue 3 months ago • 16 comments

Hey, We saw that there are some fixes available on master for RN new arch. Can you please release it?

asafkorem avatar Nov 04 '25 13:11 asafkorem

@asafkorem there's no maintainers on this library anymore, i've switched to expo-speech-recognition

anon1911 avatar Nov 08 '25 23:11 anon1911

Any other alternative for the React Native CLI?

Mridul2820 avatar Nov 09 '25 10:11 Mridul2820

What to do for CLI ?

dprajapati1179 avatar Nov 24 '25 04:11 dprajapati1179

Does anyone have any good suggestions for a CLI?

AM7023 avatar Nov 24 '25 10:11 AM7023

I have fixed and published separately you can try it out react-native-voice

dev-amirzubair avatar Nov 25 '25 13:11 dev-amirzubair

I have fixed and published separately you can try it out react-native-voice

Let’s try it, and thanks for the suggestion.

AM7023 avatar Nov 27 '25 06:11 AM7023

@AM7023 once you try please post the results here so others can also use the same.

and if possible @dev-amirzubair can you share what is changed in your version ?

dprajapati1179 avatar Nov 27 '25 06:11 dprajapati1179

@dprajapati1179 you can also visit the link I have mentioned the changes:

✅ New Architecture Support - Works with Fabric and TurboModules ✅ Bridgeless Mode - Full support for React Native's Bridgeless mode ✅ React Native 0.76+ - Tested and working with the latest RN versions ✅ Fixed Android Event Emission - Events properly reach JavaScript in new architecture ✅ Fixed iOS TurboModule Registration - Proper fallback handling for iOS ✅ Clean TypeScript Types - Updated type definitions

dev-amirzubair avatar Nov 27 '25 08:11 dev-amirzubair

@dev-amirzubair Your solution is working on IOS but on Android its not working. here is error: Error: Speech recognition not available

waleediqbal1717 avatar Nov 27 '25 08:11 waleediqbal1717

@waleediqbal1717 Android: No speech recognition services found Install the Google Search app from Play Store. also test it on real device on simulator it will not work properly

dev-amirzubair avatar Nov 27 '25 09:11 dev-amirzubair

@dev-amirzubair i have duplication error with your @dev-amirzubair/react-native-voice and this @react-native-voice/voice package during expo prebuild . what should i do in order to process

sakthinaveenm avatar Nov 27 '25 09:11 sakthinaveenm

@sakthinaveenm uninstall @react-native-voice/voice

waleediqbal1717 avatar Nov 27 '25 09:11 waleediqbal1717

when uninstalled @react-native-voice/voice it shows error like @react-native-voice/voice package is missing

sakthinaveenm avatar Nov 27 '25 09:11 sakthinaveenm

when uninstalled @react-native-voice/voice it shows error like @react-native-voice/voice package is missing

Because the name also changed so change all your import statements with new name of thee package.

dprajapati1179 avatar Nov 27 '25 09:11 dprajapati1179

when uninstalled @react-native-voice/voice it shows error like @react-native-voice/voice package is missing

Because the name also changed so change all your import statements with new name of thee package.

PluginError: Unable to resolve a valid config plugin for @dev-amirzubair/react-native-voice. • main export of @dev-amirzubair/react-native-voice does not appear to be a config plugin: the following error was thrown when importing /Users/kpost/Desktop/Projects/demo/node_modules/@dev-amirzubair/react-native-voice/app.plugin.js: Cannot find module '@react-native-voice/voice/package.json'

sakthinaveenm avatar Nov 27 '25 10:11 sakthinaveenm

when uninstalled @react-native-voice/voice it shows error like @react-native-voice/voice package is missing

Because the name also changed so change all your import statements with new name of thee package.

PluginError: Unable to resolve a valid config plugin for @dev-amirzubair/react-native-voice. • main export of @dev-amirzubair/react-native-voice does not appear to be a config plugin: the following error was thrown when importing /Users/kpost/Desktop/Projects/demo/node_modules/@dev-amirzubair/react-native-voice/app.plugin.js: Cannot find module '@react-native-voice/voice/package.json'

Uninstall both packages first, then install @dev-amirzubair/react-native-voice. It will work because my library depends on the original React Native Voice packages. If you install @dev-amirzubair/react-native-voice and then uninstall the original voice package afterward, you may run into issues.

dev-amirzubair avatar Nov 27 '25 11:11 dev-amirzubair