elimu-ai / vitabu

📚 Android application for reading storybooks and expanding word vocabulary.
MIT License
3 stars 3 forks source link

UtteranceProgressListener causes crash on cover page #85

Closed nya-elimu closed 3 years ago

nya-elimu commented 3 years ago

On devices running an Android version older than 8.0 (API level 26) that does not support Text-to-Speech UtteranceProgressListener#onRangeStart (enabling word-by-word highlighting), the application crashes when pressing the listen icon and then proceeding to the first page of the storybook:

Android 7.0:

https://user-images.githubusercontent.com/15718174/117042075-32503300-ad14-11eb-8023-9c2d08d61fec.mov

Android 9.0:

https://user-images.githubusercontent.com/15718174/117042790-1731f300-ad15-11eb-9bef-6be957064a37.mp4


Relates to https://github.com/elimu-ai/vitabu/issues/21