Take photo-Front Camera not working while device is locked

AKP

New member
So, I have this macro, which takes a picture from front camera and then shows a notification, whenever wrong login code is entered. I have it for months and it used to work. But since, around last 15 days, action of taking photo from front camera isn't working.

Logs show that actions has been performed and there is a notification as well, but there is no photo in the folder specified.

I have tested action and trigger from app interface. I have added another trigger (application launched) to check it in real time. It has worked in all these conditions.

Only, it is not working when login attempt is failed.

I have diabled and re-enabled particular macro and macrodroid, restarted phone and all, but it's just not working.
 
Last edited:

MacroDroidDev

Administrator
Staff member
Is this a Xiaomi device? There is a special Xiaomi permission called something like display on lock screen, that must be enabled for this to work when the device is locked.
 
  • Like
Reactions: AKP

AKP

New member
Is this a Xiaomi device? There is a special Xiaomi permission called something like display on lock screen, that must be enabled for this to work when the device is locked.
Yes, it's a Xiaomi device and after enabling that permission it's now working again.

I may have disabled that permission erroneously.

Thanks for your help 👍👍
 
Top