Log Out Device
Â
The following API call is available in Android FCM SDK v6.0.7 and later. For iOS SDK v6.0.3 and later.
Log Out method within your app enable the user to receive or not receive push notification like an anonymous user.
For example, if you use false for the second parameter your user won't receive a push notification until the user logs in again. If you use true for the second parameter your user will receive a push notification despite being logged out.
Call to logged out user and enable push notification.Â
Pay attention after this call the user is logged out but he/she still can receive a push notification.
Â
Call to logged out user and disable push notification.Â
Pay attention after this call the user is logged out and he/she can't receive a push notification anymore.
Â
Â
Â
Log out provides the ability to user receive or not receive a push notification after logging out from the application.