delight-im / delight-im/Android-DDP

Manage susbscriptions after disconnect

Open
#144 10 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
274
Forks
51
PR merge metrics
No merged PRs in 30d

Description

I couldn't find a proper documentation about disconnect method.
On my application usually I disconnect the meteor connection to avoid sending messages and save battery, but when I reconnect it I realized that I don't receive updates of a subscription unless I subscribe again.
I have been looking for documentation about disconnect method (on Readme in this repo and in the Java code), but I haven't find what is the exact behavior when disconnecting (with `mMeteor.disconnect()`) and reconnecting again (with `mMeteor.reconnect()`).

I would like to know if there is any way to manage this situation other than tracking which are the subscriptions you use and manage them with an auxiliary Class. Or at least a method to get all active subscriptions.

Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.