naoufal / react-native-speech

A text-to-speech library for React Native.
https://www.npmjs.com/package/react-native-speech
304 stars 52 forks source link

Not working for android. SpeechSynthesizer.android.js SpeechSynthesizer is not implemented #33

Open somayaji1983 opened 6 years ago

somayaji1983 commented 6 years ago

Dear team, The plugin looks very nice and I have started using for my android project. But unfortunately it not working after repeated debug of problem, I found in SpeechSynthesizer.android.js file there is no native code invocation for TTS speech SpeechSynthesizer

'use strict';

var warning = require('warning');

var SpeechSynthesizer = { test: function() { warning("Not yet implemented for Android."); } };

module.exports = SpeechSynthesizer;

Please confirm the same.

thanks

Winglonelion commented 6 years ago

@somayaji1983 Maybe this project was not maintenance in a long time. In the firstime use this, i met same problem like you. Then, i forked and wrote a android version for this: You can check it here: https://github.com/nodejsaber/react-native-speech.git