To logout user and stop background Bayun services, use logout method. This method can be used at the time of logging out of app.
logout
[[BayunCore sharedInstance] logout];
BayunCore.sharedInstance().logout()
In order to use Bayun methods after logout, you will need to login the user again.
Last updated 2 years ago