Logging out disconnects current user from FCM service and terminates realtime connection.
[[TalkPlus sharedInstance] logout:^{ // SUCCESS } failure:^(int errorCode, NSError *error) { // FAILURE }];
TalkPlus.sharedInstance()?.logout({ // SUCCESS }, failure: { (errorCode, error) in // FAILURE })
Last updated 6 months ago