Override JobScheduler Job ID

The Blueshift Android SDK v2.0.2 and above uses JobScheduler for intelligent scheduling of jobs.

To avoid conflict between the job IDs used by the SDK and the app, we are providing helper methods to override the job IDs used by the SDK.

 

Configuration configuration = new Configuration();
// for bulk event triggering service's job id
configuration.setBulkEventsJobId(newId);
// for network change listener's job id.
configuration.setNetworkChangeListenerJobId(newId);
// do other configurations. Blueshift.getInstance(this).initialize(configuration);
Was this article helpful?
0 out of 0 found this helpful