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 = "TestDemoApiKeyTestRefinery89ApiKey", /* This is for testing purposes, change it on prod */
			singleLine = true,
			initializationEvents = null
		)
    }
}
Info

Your pubUUID and apiKey will be provided to you during onboarding process by email, you can also retrieve them from the web interface after login.

Note

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

Then add this application class to the manifest you already had from the Android Get Started.

...