Closed hborisoff closed 4 years ago
After further investigation the reason for 'background' flag in Android SDK is that the start call is initiated from the Application class of the app. This Application class implements the singleton pattern and is created whenever the OS does need to create Activity, Service, BroadcastReceiver, Provider or other. For example when device receives push notification it creates the service that is responsible for handling that push notification without showing any UI. This is one of the cases when the SDK starts with background=true state.
Will close this PR as it is braking the implementation.
Background
The 'background' parameter is not used based on the API logs and also the SDK cannot be used in the background.