Foreground Service Type
If your application is accessing camera/microphone in foreground service, Then you must need to declare in foregroundServiceType as below.
E.g. Foreground application that access location, camera, and microphone
AndroidManifest.xml
<
manifest
>
...
<
service
...
android:foregroundServiceType
=
"location|camera|microphone"
/>
</
manifest
>