Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
breakoutModewide
languagekotlin
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 publisherId pubUUID and appId apiKey will be provided to you during onboarding process by email, you can also retrieve them from the web interface after login.

Note

This appID apiKey is not the same as the Manifest App Id you used in previous steps

...

  • Remove the methods R89SDK.setDebug() and addTestingSingleTagData()

  • Change the App id in the manifest for the production one

  • Change the appId pubUUID and publisherId apiKey in the initialization method for the production ones

  • it’s also recommended to remove R89SDK.setLogLevel(LogLevels.DEBUG) but not needed

...