pilot51 / voicenotify

Android app that speaks notifications
https://voicenotify.app
Apache License 2.0
166 stars 57 forks source link

Read toasts again #62

Open pilot51 opened 6 years ago

pilot51 commented 6 years ago

Since the release of v1.1.0, a number of users have expressed a strong desire for the Speak Toasts option to be restored, which had to be removed due to Google's policy change/threat regarding Accessibility services. Toast messages were passed through Accessibility and not Notification Listener or any other public API that I could find.

As a result of the policy fiasco and considering that toasts weren't intended core functionality (only included in the first place because Accessibility mixed them in with status bar notifications), I am not planning to use Accessibility again. Instead, I am looking for workarounds, which may involve hacks like reflection.

If I am unable to find a workaround, I may just create a separate branch which only restores the toast option and accessibility service, with builds released only on GitHub.