public void init ( final Context context , final Handler mainThreadHandler , final Logger logger , final PushTokenProvider provider , final PushTokenListener tokenListener , final PushMessageListener messageListener ) { log = logger ; this . provider = provider != null ? provider : ( ) -> FirebaseInstanceId . getInstance ( ) . getToken ( ) ; registerPushReceiver ( mainThreadHandler , context , this . provider , tokenListener , messageListener ) ; }
Initialise PushManager .