get Instance
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, customBaseUrl: String? = null): PushPushGo
function to create an instance of PushPushGo object to handle push notifications
Return
PushPushGo instance
Parameters
application
an application to handle DI
api Key
key to communicate with RESTFul API
project Id
project identifier
is Production
flag indicating if this is a production environment
is Debug
flag for debug mode
custom Base Url
optional custom base URL for API endpoints