Ditto Foreground Service Manager
Starts and stops DittoForegroundService
A foreground service allows your app to continue syncing data with Ditto while running in the background.
When ditto.startSync() is called, this class does the following:
Searches in
AndroidManifest.xmlfor a foreground service that implements DittoForegroundServiceVerifies that the application has the required permissions to start a foreground service
Starts the foreground service
When ditto.stopSync() is called, this class stops the running foreground service.