Amplify-js: PUBSUB connect, disconnect with mqttStatus callback

Created on 18 Dec 2018  路  3Comments  路  Source: aws-amplify/amplify-js

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.

PubSub feature-request

Most helpful comment

Hi @praveshkhatana thanks for your feedback, I will tag this as feature-request

All 3 comments

Hi @praveshkhatana thanks for your feedback, I will tag this as feature-request

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.

Since this has been closed what is the recommended approach for implementing a presence system in aws amplify?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

karlmosenbacher picture karlmosenbacher  路  3Comments

oste picture oste  路  3Comments

rygo6 picture rygo6  路  3Comments

romainquellec picture romainquellec  路  3Comments

epicfaace picture epicfaace  路  3Comments