You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We are using IOT for presence system and there is no such method to Connect & Disconnect like we have in other IOS/Android IOT SDK. Also no way to check the mqttStatus. It requires to build the logic based on it, for example, we can update user online/offline status in Database based on returned mqttStatus 1/3/5.
Describe the solution you'd like
Provide Connect (with MqttStatus Callback) & Disconnect methods.
Describe alternatives you've considered
Any other way to provide MqttStatus Callback(important part, need this to update database) with current Subscribe method. But I think, It won't work in this way. It should be the same like we have in IOS/Android SDK.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
We've just released connection state monitoring for the IoT integration, which is now documented here. For the use-case of presence monitoring, I wouldn't recommend the PubSub IoT integration as this requires the user to be logged in and individually authorized against the IoT policy from the PubSub getting started guide.
If I where building presence monitoring today, I would use the API category to add a non-persisted subscribe-able mutation which other users could then subscribe to which other users can listen for. If each user is signaling presence once per minute, then all other users can track the number of events that have happened in the past minute.
Adjust as needed to account for auth/use uniqueness or persistence to best capture initial state.
Is your feature request related to a problem? Please describe.
We are using IOT for presence system and there is no such method to Connect & Disconnect like we have in other IOS/Android IOT SDK. Also no way to check the mqttStatus. It requires to build the logic based on it, for example, we can update user online/offline status in Database based on returned mqttStatus 1/3/5.
Describe the solution you'd like
Provide Connect (with MqttStatus Callback) & Disconnect methods.
Describe alternatives you've considered
Any other way to provide MqttStatus Callback(important part, need this to update database) with current Subscribe method. But I think, It won't work in this way. It should be the same like we have in IOS/Android SDK.
The text was updated successfully, but these errors were encountered: