...
Code Block | ||||
---|---|---|---|---|
| ||||
class Application: Application() { override fun onCreate() { super.onCreate() R89SDK.setDebug() //This is for testing purposes, remove it on prod R89SDK.setLogLevel(LogLevels.DEBUG) //This is for testing purposes, remove it on prod addTestingSingleTagData() /* This is a later step */ R89SDK.initialize( appContext = this, pubUUID = "TestRefinery89UUID", /* This is for testing purposes, change it on prod */ apiKey = "TestDemoApiKey", /* This is for testing purposes, change it on prod */ singleLine = true, initializationEvents = null ) } } |
Info |
---|
Your |
Note |
---|
This |
...
Remove the methods
R89SDK.setDebug()
andaddTestingSingleTagData()
Change the App id in the manifest for the production one
Change the
appId
pubUUID
andpublisherId
apiKey
in the initialization method for the production onesit’s also recommended to remove
R89SDK.setLogLevel(LogLevels.DEBUG)
but not needed
...