Skip to content
This repository has been archived by the owner on Dec 9, 2019. It is now read-only.

Add note on Skygear will automatically re-connect and re-subscribe on pubsub #305

Merged
merged 3 commits into from
Aug 31, 2016

Conversation

rickmak
Copy link
Member

@rickmak rickmak commented Aug 24, 2016

re-subscribe all existing handler on connection restore. So in normal case,
you don't need to re-subscribe all your handler on re-connect.

We understand application may needs to know the status of pubsub connection, we
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may *need

@royuen
Copy link

royuen commented Aug 26, 2016

@rickmak

Please also add for Android and iOS

@rickmak
Copy link
Member Author

rickmak commented Aug 30, 2016

See SkygearIO/skygear-SDK-iOS#39 and SkygearIO/skygear-SDK-Android#42

in iOS and Android SDK, we don't provide a onOpen/onClose call back yet. So the developer will not able to recurrent subscribe same handler on connection close. Need to emphasis in when how the reconnect work when we implement those onOpen/onClose event.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants