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

...

Check both https://refinery89.atlassian.net/wiki/x/A4DcSQ and Android Tagged Wrappers for more information

...

Before initialization method we called addTestingSingleTagData() that uses the SingleTagConfigBuilder to create the testing data needed for debugging the sdk.

More info in → Android How to test Single Tag Implementation

...