TASKER GUIDE (all video tutorials will updated in this thread )

Search This thread

spicediablo

Senior Member
Hi experts, sorry if this has been asked before. I would like to use Tasker to check if my phone is locked and trigger the revoke permission for camera in WhatsApp to protect my pop up camera from accidental opening during incoming WhatsApp video call. Attached is my created xml and thus far, not working. Any experts can take a look and see what went wrong

Update :finally working after some tweak to the xml.


Sent from F2 pro
 

Attachments

  • Test_Is_Screen_Locked_.tsk.xml
    2.2 KB · Views: 59
Last edited:

jeffzack

Member
Sep 22, 2015
13
0
Hi experts, sorry if this has been asked before. I would like to use Tasker to check if my phone is locked and trigger the revoke permission for camera in WhatsApp to protect my pop up camera from accidental opening during incoming WhatsApp video call. Attached is my created xml and thus far, not working. Any experts can take a look and see what went wrong

Update :finally working after some tweak to the xml.


Sent from F2 pro

hello there, im new to tasker, do you mind to share how to setup tasker to make sure the whatapps camera permission everytime i locked my screen?

thanks in advance.

Jeff
 

spicediablo

Senior Member
thanks for the prompt reply! yes i already imported the task using your xml. how about the profile? which one should i pick?



thanks again



Jeff
I used display off for profile as shown here Screenshot_2020-08-13-23-07-30-028_net.dinglisch.android.taskerm.jpeg

Sent from F2 Pro
 

spicediablo

Senior Member
i can see you are using poco f2 as well the popup camera is giving me headache..., i've set the same display state off then trigger the xml task, but after i locked my screen and check the permission, it's still "Allow", any other settings that i miss out?



thanks



Jeff
How can you check the permission when your screen is locked? Why don't you make a test WhatsApp call and see if your camera pops up? You need to grant permissions to tasker for it to be able to work properly.

Sent from F2 Pro
 

jeffzack

Member
Sep 22, 2015
13
0
How can you check the permission when your screen is locked? Why don't you make a test WhatsApp call and see if your camera pops up? You need to grant permissions to tasker for it to be able to work properly.

Sent from F2 Pro

my bad, i mean when i unlocked and check the app permission its still showing "Allow" for the camera permission. and yes its still pops up even the screen is off. mind to share what permission to grant?

Thanks

Jeff
 

spicediablo

Senior Member
my bad, i mean when i unlocked and check the app permission its still showing "Allow" for the camera permission. and yes its still pops up even the screen is off. mind to share what permission to grant?



Thanks



Jeff
Run the task manually and see if it changes the permission, if not, then there is something wrong with your task...

Sent from F2 Pro
 

Top Liked Posts