initialise
fun initialise(logLevel: Logger.LogLevel = Logger.LogLevel.ERROR, retryInterval: Long = DEFAULT_RETRY_INTERVAL)
Content copied to clipboard
Initialize the FCM client. This needs to be called from the onCreate() of Application class.
Parameters
log Level
optional parameter takes in the level of logs which should be printed by the SDK when the application is running in debug mode. By default, only error logs are printed. Refer to Logger.LogLevel for more details.
retry Interval
optional parameter which takes the time interval(in seconds) after which the SDK should retry registering for Push Token in case of any failure. Default value is 30 seconds.