Unable to Take Picture (Front Facing) on Lockscreen with "Hide Camera icon" option

Alexcapone

New member
I can only take it when I select "Show Camera icon" when I configure the Take Picture action to "Hide camera icon" it doesn't work. If I select "Hide camera icon" the action will not work.

I am using Galaxy Samsung S21 (SM-G977U)

I saw this was an issue in the past in this thread but doesn't specifically address the hide camera icon option:
 

MacroDroidDev

Administrator
Staff member
Hmm, this is interesting. The way taking a picture has to work is to display an invisible foreground app and take the picture via that. The only difference with the icon is that it makes an image view visible or not depending on what is selected.

Perhaps your Samsung device is blocking the ability to take a picture unless there is something visible on the screen?

Are you 100% sure this is related to the camera option and not just some other failure that coincided with this. I've just tested on a Samsung with Android 12 and some other devices and I cannot reproduce this.
 

primaski

New member
Bump, I am having this same issue on a Samsung S8. There is nothing in the log indicating that the procedure failed - yet regardless of whether the picture's save location is on the SD Card or Internal Storage, no picture gets saved. Also, I've confirmed that Macrodroid has storage access.
 

MacroDroidDev

Administrator
Staff member
@primaski Are you saying that the picture taking only works if you have the show camera icon enabled and fails otherwise, or does it fail for you in all cases?
 

janbenes

New member
Hello I have similar problem. Samsung A52, LineageOS 19 (Android 12). When I was testing macro with unlocked phone, taking pictures worked. When phone is locked, no picture is taken. The log entry is normal. I have camera icon enabled, I do not care if it is visible or not. Looks like camera does not have permission to take image, because when setting up macro I have been asked if I want to grant permission to take pictures, but the only option was "when using the app". Any hints?
 
Top