Link up
Before you start
Service Settings
Support Information
Installing the SDK
Adding dependencies
1. Add mavenCentralin repositories to fetch maven dependencies.
mavenCentralin repositories to fetch maven dependencies.2. Open the build.gradle file inside the app's module directory.
build.gradle file inside the app's module directory.3. Add SDK dependencies for the latest version of DFINERY SDK and required components to dependencies.
SDK Initialization
Initialize
1. Create an object that inherits Application. If an inherited object already exists, use that object.
2. Override the onCreate() method in an object that inherits Application
3. Write the following code in the onCreate() method.
4. Register the application written in AndroidManifest.xml.
5. Add the required permissions to AndroidManifest.xml.
Set up your Google Advertising ID (optional)
1. Open the build.gradle file inside your app's module directory.
build.gradle file inside your app's module directory.2. Add the dependencies required to collect the advertising ID to dependencies.
3. Add the required permissions to AndroidManifest.xml.
4. Set the advertising ID via thesetGoogleAdvertisingId() method.
setGoogleAdvertisingId() method.SDK Setup
Activate log
Change the log level
Complete
Last updated