Open unoravi opened 3 years ago
Hi, thanks for opening the issue!
Are you using PubNub SDK in a Flutter application?
Yes.. I am facing an issue on both below dependency versions.
@are Ask me if any kind of details you need. Waiting for a quick solution.
Thanks
@are Please keep me posted if any updates on this..
Hello, sorry for not answering earlier. In general, because PubNub SDK is not Flutter specific, we are not sending the Presence events by default (because it doesn't make sense in all use-cases). Instead we have opted into letting users manually handle presence or use Flutter specific mechanisms and extensions.
You can use pubnub.announceHeartbeat
and pubnub.announceLeave
methods to signal presence manually.
Additionally we are working on a set of Flutter specific widgets to help with Presence and other things, but its not currently released yet. You can take a look at the pattern we plan to use for Presence here.
@are Almost all development platforms has Pubnub Auto Present Fill Feature (with given presence time) and it is one of the feature of it too.
By doing this, you are restricting dart to use pubnub features.
We are not restricting PubNub features from Dart - Presence is fully available in the Dart SDK. However, because of the way Dart ecosystem functions we want to give customers flexibility in how they want to interact with PubNub network.
If you are using Flutter, please feel free to use the Presence widget I've shown you in the previous message. If you still believe that we need to include automatic Presence sending feature into the base Dart SDK, I will add it as a feature request. Thanks for your patience!
@are For now, I am handling this manually but Kindly raise request to add automatic presence sending feature into the base Dart SDK.
Thanks
@are Is there any update on Add automatic presence sending feature into the base Dart SDK?
@are Any Updates.. ??
@are Is there any update on Add automatic presence sending feature into the base Dart SDK?
Sorry, we don't have anything to share yet. If this is something that is preventing you from moving forward, please open a ticket with our Support so we can prioritize this issue.
Thank you for your patience!
@are Raised ticket on Pubnub Support : https://support.pubnub.com/hc/en-us/requests/39524
Awaiting for a quick solution.
Thanks
@are No updates from Pubnub Support..
Is there any update from your side on this ?
Because at last, I need to change code which is in dart language.
ANY UPDATES ?
I have few issues of NULL_SAFETY so I am using 4.0.0-beta.1 version in my code. I am not able to configure PresenceTimeout value into it. So I am not able to know from server that weather my connection is alive or not..
Please let me know if any else is implemented from your side.
Thanks