Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Info

The following API call is available in Android FCM SDK v6.0.7 and later. For iOS SDK v6.0.3 and later.

...

Expand
titleAndroid [Java]
Code Block
@Deprecated("Context is no more needed.")
Appoxee.instance().logOut(getApplication(), true);
Code Block
Appoxee.instance().logOut(true);
Info

Pay attention after this call the user is logged out but he/she still can receive a push notification.

...

Expand
titleAndroid [Java]
Code Block
@Deprecated("Context is no more needed.")
Appoxee.instance().logOut(getApplication(), false);
Code Block
Appoxee.instance().logOut(truefalse)
Info

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.