quittle / a11y-ally

A collection of tools to aid developers observe, verify, and test the accessibility of Android applications.
https://play.google.com/store/apps/details?id=com.quittle.a11yally
Apache License 2.0
25 stars 5 forks source link

Problem with the Permission for Accessibility Service #174

Open petra1 opened 3 years ago

petra1 commented 3 years ago

I have a Google Pixel 2 with Android 11, Security-Update 5th October 2020.

Since the update to version 0.0.0.158 of the app. The permission for the Accessibility Service does not work any more

to reproduce to the following:

On my device A11y Ally does not recognize the permission for the Accessibility Service, it shows still the "fix it" button

Is the new version of A11y Ally not compatible with my old Version of Android 11?

quittle commented 3 years ago

Hmm, I have experienced this issue myself when debugging. I found there's a very frustrating "safety" mechanism added in Android 11 where accessibility services aren't always run even when the system switch says they are. I've only ever triggered it when the application crashed too much, though. The resolution for this situation is to first uninstall the app, then restart the device, then reinstall the app. Just clearing app data or uninstalling isn't enough because the OS seems to remember the app was misbehaving previously. Please try this and let me know if this fixes it for you.

Unfortunately the app can't tell it's in this halfway state, it just knows it can't run as an accessibility service.

quittle commented 3 years ago

Hey @petra1, have you had a chance to try out my suggestion to see if it fixed it for you?

petra1 commented 3 years ago

Hi Durstin,

Yes, I have tried it how ever had no success. To solve the problem, I had to download the project from github and build it myself. For your information, it looks like that the app is marked as "bad" in my google account

Von: Dustin Toff notifications@github.com Gesendet: Freitag, 12. Februar 2021 01:13 An: quittle/a11y-ally a11y-ally@noreply.github.com Cc: Petra Ritter petra@access-for-all.ch; Mention mention@noreply.github.com Betreff: Re: [quittle/a11y-ally] Problem with the Permission for Accessibility Service (#174)

Hey @petra1https://github.com/petra1, have you had a chance to try out my suggestion to see if it fixed it for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/quittle/a11y-ally/issues/174#issuecomment-777880709, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACTAIGFE5LCC6ZKMIZKKYY3S6RW67ANCNFSM4XNGAMRA.