micku7zu / micku7zu/QuickCursor
The application is stopped after some time
- Dominant language
- No language data
- Stars
- 83
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
# Issue description
Some manufacturers (Xiaomi, Huawei, Samsung and others) are stopping background apps (like Quick Cursor) even when the user doesn't want this.
# Solution for users
Unfortunately, there is no solution for me as a developer to fix this. I don't have enough permissions to bypass their mechanisms.
The solution is to check what tricks/hacks/whitelists/locks you have to do specifically for your device in order to keep an app open for a long period of time.
Usually there are some tricks that apply to all manufacturers, but each manufacturer have different settings and it can also change on each Android version:
- **lock the app in memory** from the recents menu:
- [Example OnePlus](https://user-images.githubusercontent.com/3103859/210064971-a9b4d01a-ab4b-4a06-8bc2-836c9c3aa480.png)
- [Example Xiaomi](https://user-images.githubusercontent.com/3103859/210065000-3f50804b-aab8-4796-b5e2-7496d690e6d2.png)
- [Example Samsung Android 13](https://user-images.githubusercontent.com/3103859/210065189-0dda672b-4261-4bbf-a729-a1191e8b4854.png)
- [Other example](https://user-images.githubusercontent.com/3103859/210065245-32117001-0924-4d1a-8dae-931b3543e546.png)
- there is no solution that works on all devices, each device has a different locking mechanism
- **disable battery optimization for Quick Cursor**:
- [Example Samsung](https://user-images.githubusercontent.com/3103859/210065721-6237ff14-3147-4f72-8621-13e6289e3d12.png)
- [Example MIUI](https://user-images.githubusercontent.com/3103859/210065853-698b0f0c-8c38-498a-a93e-5b89739c478b.png)
- Each manufacturer has different ways to manage exceptions for battery optimization
- Read more tips & tricks on how to prevent your Android to stop an app at https://dontkillmyapp.com. Open website, find your device there and follow the step by step guides.
I can't maintain a list of all possible ways because each manufacturer on each Android version have a different complex way to stop a background app.
**Huge congrats to Google Pixel** and other close to AOSP devices that don't stop a background accessibility app.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue describes Android manufacturers stopping Quick Cursor in the background, but it names no repository file, test, or entry point to inspect. Read the issue's manufacturer-specific guidance first; no implementation change or code-defined completion condition is specified, and the stated resolution is device-specific user configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 10/100