Address and mitigate power saving phone features
As Cryptocam heavily relies on foreground services for recording, we have to make sure users disable any kind of battery optimization for the app, whether that be Android's stock optimizations or OEM-specific app killers.
The first step is to add the REQUEST_IGNORE_BATTERY_OPTIMIZATIONS to the manifest and then ask the user to disable optimizations for Cryptocam during initial setup.
For OEM power optimizer apps, there is this collection of manufacturer-specific apps.
Lastly, we can point users to https://dontkillmyapp.com/ for additional tips and fixes.