Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAQ: Keeps asking for Accessibility #314

Closed
MathewSachin opened this issue Aug 28, 2020 · 3 comments
Closed

FAQ: Keeps asking for Accessibility #314

MathewSachin opened this issue Aug 28, 2020 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@MathewSachin
Copy link
Collaborator

MathewSachin commented Aug 28, 2020

This is related to how AccessibilityServices are killed by battery optimizations added by phone manufacturers

Temporary quick-fix: Force stop FGA or restart your phone.

If the following steps don't work, you'll have to live with it. There's nothing much I can do to help you with that.

There are 2 ways to solve this:

1. Respecting your battery saver (Recommended)

A running AccessibilityService gets bugged when the containing app is killed either by the system or when the user swipes it away from the recent apps list.
To solve this, you only need to make sure that the AccessibilityService is turned OFF every time you're done using the app.
There is a button on the main screen in the app to assist in this. Whenever you want to use the app, you'll have to turn ON the AccessibilityService again from the system settings.

Some devices have Accessibility gestures for turning ON/OFF AccessibilityServices. You might be able to configure one for FGA if your device supports it so that you don't have to go to the system settings every time.

2. Circumventing your battery saver

This is not always possible but is more convenient due to not having to start Accessibility every time you want to use the app.

These are the steps you need to follow afterwards and anytime in future you face the problem again:

  • Force-stop FGA (in some cases a device restart is needed)
  • You might also have to turn OFF Accessibility once and then turn ON again.
@Unumbium
Copy link

For xiaomi users having that problem, just lock the app so you don't close it by accident.

@Resh1233
Copy link

Resh1233 commented Apr 20, 2023

Why when is it on support menu it suddenly dose not work?

@Soulsuke
Copy link

Soulsuke commented Jan 7, 2024

Xiaomi fix for accessibility service stopping when closing the app: also enable permissions for FGA in settings -> apps permissions -> background autostart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants