setAppId

open fun setAppId(appId: String)

Associates current application with the given Pushwoosh application code.

This method provides a runtime alternative to defining "com.pushwoosh.appid" metadata in AndroidManifest.xml. The application code can be found in your Pushwoosh Control Panel. Example:


  Pushwoosh.getInstance().setAppId("XXXXX-XXXXX");

Parameters

appId

Pushwoosh application code