Installing SDK

Manual SDK Integration

About this task

The Discover Android SDK can be integrated manually by adding the required SDK artifacts and configuration files to the appropriate locations within the Android project.

Correct placement of these files is mandatory to ensure proper SDK initialization, configuration loading, and runtime execution.

SDK Files and Project Structure

About this task

Copy the following Discover SDK files into your Android project as outlined below:
Filename Project Location
DiscoverBasicConfig.properties assets/
DiscoverAdvancedConfig.json assets/
DiscoverLayoutConfig.json assets/
DCXCoreBasicConfig.properties assets/
DCXCoreAdvancedConfig.json assets/
discovermod.jar libs/
dcxcore.jar libs/
Note:
  • All JAR files must be added to the application’s build path to ensure they are included during compilation and runtime.
  • Configuration files placed in the assets/ directory are loaded by the SDK at runtime and should not be renamed or relocated.