Closed vincenzoiacovone closed 8 years ago
@vincenzoiacovone Could you explain a use case in lil more detail ?
If Google TTS service is not installed on device (this package: https://play.google.com/store/apps/details?id=com.google.android.tts ) actual source doesn't handle the exception. If you try to play a TTS, nothing happens. With this code edit, if you play a TTS and you don't have service installed, an exception will be raise
Google Text-to-speech - Android Apps on Google Playhttps://play.google.com/store/apps/details?id=com.google.android.tts play.google.com Google Text-to-speech powers applications to read the text on your screen aloud. For example, it can be used by: • Google Play Books to “Read Aloud ...
Da: Mihir Soni notifications@github.com Inviato: venerdì 22 luglio 2016 12.14.26 A: mihirsoni/react-native-android-speech Cc: vincenzoiacovone; Mention Oggetto: Re: [mihirsoni/react-native-android-speech] Handle if TTS service is not installaed (#2)
@vincenzoiacovonehttps://github.com/vincenzoiacovone Could you explain a use case in lil more detail ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/mihirsoni/react-native-android-speech/pull/2#issuecomment-234507968, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARvD84V2eVBRJCV2PmDD7839No5q20igks5qYJgCgaJpZM4JSm9l.
@vincenzoiacovone Okay make sense , I will do the test and close merge this.
Thank you for your PR.
With this change user can handle if TTS service is not installed on the device. If is not installed, raise an exception in metod "speak"