ak1394 / react-native-tts

React Native Text-To-Speech library for Android and iOS
618 stars 156 forks source link

TTS.voices() failed error collection == null #32

Open Symous opened 7 years ago

Symous commented 7 years ago

Hi.awesome lib. I use this with Android 5.1 platform and found that when I try to invoke:

TTS.voices().then(voices=>console.log(voices));

it gives me an error that collection == null ;

How to solve this ? and BTW, is this lib support Chinese Simplified language ?

RN Version: 0.46.4

vdlindenmark commented 6 years ago

Did TTS.speak works for you? I have tried Android 5.0 and 5.1, TTS.voices is empty and TTS.speak didn't work. Also TTS.setDefaultLanguage() didn't work.

Is Android 5.* supported?

vdlindenmark commented 6 years ago

@ak1394 can you help? I have still some Android devices which can't use TTS.speak().

Wisdom0063 commented 6 years ago

@ak1394 . Please need help regarding this issue

vdlindenmark commented 6 years ago

@ak1394 please help... This is still an issue :(

ak1394 commented 6 years ago

Have you tried using Tts.requestInstallData() ?

Wisdom0063 commented 6 years ago

No Will try

On Sat, Aug 11, 2018 at 12:41 PM Anton Krasovsky notifications@github.com wrote:

Have you tried using Tts.requestInstallData() ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ak1394/react-native-tts/issues/32#issuecomment-412272693, or mute the thread https://github.com/notifications/unsubscribe-auth/AdYZE-EoHm4e1HNjuHK3l5fCMqk8qOpgks5uPtEJgaJpZM4OiBkQ .