Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

App doesn't work on Android 10 #59

Open
alittlebitofit opened this issue Nov 5, 2020 · 8 comments
Open

App doesn't work on Android 10 #59

alittlebitofit opened this issue Nov 5, 2020 · 8 comments

Comments

@alittlebitofit
Copy link

I tried toggling on-off multiple times, it did not lock the apps.

@alittlebitofit
Copy link
Author

it seems to be working only "sometimes".

the ones i have chosen to lock, automatically get toggled off.

also, the app icon is the default android icon.

@alittlebitofit
Copy link
Author

it gets activated too late.

i have locked the "Settings" app using AppLock, but when I uninstall any app, it doesn't lock that "Uninstallation" service.

@nonetrix
Copy link

Doesn't work at all for me

@alittlebitofit
Copy link
Author

yea it only works like occasionally

@aureliensoria
Copy link

Hello, I have the same issue. The lock screen appears from time to time when launching a locked application on Android 10, but not always. And sometime with a delay.

@nonetrix
Copy link

pretty sure this project is dead I would advice someone to fork it if they care tbh

@SubhamTyagi
Copy link
Owner

pretty sure this project is dead I would advice someone to fork it if they care tbh

Yeah this project is dead 😢

This is the exact problem introduced by Google https://developer.android.com/guide/components/activities/background-starts

There are lots of problem(high maintenance, privacy concern, higher battery usage) in porting to some other working hacky way . This app also inherited some complexity from upstream code so it is very hard for me maintenance these codes(due to less free time).
I had also tried to fixed these bug but all are in vein, didn't test them (due to no free time), and fixs are also incomplete(you can check them in 'dev' branch), and android restriction discouraged 😞 me to put my time in this app.

it seems that this fork has some new dirty commits.

@ayoub-chabchoub
Copy link

ayoub-chabchoub commented Jan 18, 2021

Hello,
I used Display over others apps permission to solve this problem,
as it mentionned here:
https://developer.android.com/reference/android/Manifest.permission.html#SYSTEM_ALERT_WINDOW
I used this piece of code to allow this permission:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
if (!Settings.canDrawOverlays(this)) {
Intent intent = new Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION,
Uri.parse("package:" + getPackageName()));
startActivityForResult(intent, ACTION_MANAGE_OVERLAY_PERMISSION_REQUEST_CODE);
}
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants