if user tap logout button am calling disconnect function (sessionManager.disconnect). already added will message has "offline" with keepAlive has 60seconds. But After disconnecting mqtt broker its showing has "Offline"...
but when i turn of internet connection at that moment will message returning properly has "Offline"
if user tap logout button am calling disconnect function (sessionManager.disconnect). already added will message has "offline" with keepAlive has 60seconds. But After disconnecting mqtt broker its showing has "Offline"...
but when i turn of internet connection at that moment will message returning properly has "Offline"
for mqtt Connection am using this constructor..
let me know is am missing any thing..