Android 10 camera background service permission

Hi,

each time I am sending ‘take a picture’ command to my phone it is showing a permission access popup for background service. In such form this feature is useless. Is there any way to fix it?