Override the ADBMobile JSON Config Path

Load a different ADBMobile JSON Config file when the application starts.

The Config.overrideConfigStream(configInput) method enables you to specify the path to a different ADBMobile.json configuration file when the application starts. This method must be called before any other Marketing Cloud SDK call (before Config.collectLifecycleData() ), likely in the onCreate method of your first loaded activity.

Calling this method with a different path causes a one-time override of the configuration file until the application is closed.

 try {
	InputStream configInput = getAssets().open("ExampleJSONFile.json");
	} catch (IOException ex) {
	// do something with the exception if needed

Parent topic: ADBMobile JSON Config