Use case : is that I have to run camera in background inside a service without any activity or fragment
Blocker : New camerax session is bind to lifecycleowner but the service don't have any .So how to get this object or run without it ?
Already tried : The same thing I am able to do with Camera2 library but I want to know whether it is possible with Camerax also because Camera2 api might get deprecated in future . Or google is intentionally trying to block user from running camera without activity?
Please suggest