getInstance



function to create an instance of PushPushGo object to handle push notifications

Return

PushPushGo instance

Parameters

application
  • an application to get apiKey from META DATA stored in Your Manifest.xml file


fun getInstance(application: Application, apiKey: String, projectId: String, isProduction: Boolean, isDebug: Boolean = DEBUG): PushPushGo

function to create an instance of PushPushGo object to handle push notifications

Return

PushPushGo instance

Parameters

application
  • an application to handle DI

apiKey
  • key to communicate with RESTFul API