AppLock icon indicating copy to clipboard operation
AppLock copied to clipboard

App doesn't work on Android 10

Open alittlebitofit opened this issue 5 years ago • 8 comments
trafficstars

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

alittlebitofit avatar Nov 05 '20 09:11 alittlebitofit

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 avatar Nov 08 '20 10:11 alittlebitofit

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.

alittlebitofit avatar Nov 08 '20 10:11 alittlebitofit

Doesn't work at all for me

nonetrix avatar Dec 16 '20 15:12 nonetrix

yea it only works like occasionally

alittlebitofit avatar Dec 16 '20 17:12 alittlebitofit

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.

aureliensoria avatar Jan 14 '21 07:01 aureliensoria

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

nonetrix avatar Jan 16 '21 23:01 nonetrix

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.

SubhamTyagi avatar Jan 18 '21 08:01 SubhamTyagi

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); } }

ayoub-chabchoub avatar Jan 18 '21 15:01 ayoub-chabchoub