Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where to set presenceTimeout in Pubnub configuration ? #53

Open
unoravi opened this issue Jul 1, 2021 · 15 comments
Open

Where to set presenceTimeout in Pubnub configuration ? #53

unoravi opened this issue Jul 1, 2021 · 15 comments
Assignees
Labels
status: accepted This issue is accepted as valid, but it's not being worked on yet.

Comments

@unoravi
Copy link

unoravi commented Jul 1, 2021

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

@are are added status: accepted This issue is accepted as valid, but it's not being worked on yet. type: question This issue is a question. labels Jul 1, 2021
@are are self-assigned this Jul 1, 2021
@are
Copy link
Contributor

are commented Jul 1, 2021

Hi, thanks for opening the issue!

Are you using PubNub SDK in a Flutter application?

@unoravi
Copy link
Author

unoravi commented Jul 2, 2021

Yes.. I am facing an issue on both below dependency versions.

@unoravi
Copy link
Author

unoravi commented Jul 5, 2021

@are
Ask me if any kind of details you need. Waiting for a quick solution.

Thanks

@unoravi
Copy link
Author

unoravi commented Jul 12, 2021

@are
Please keep me posted if any updates on this..

@are
Copy link
Contributor

are commented Jul 12, 2021

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 are added the status: waiting This issue waits for feedback from author. label Jul 12, 2021
@unoravi
Copy link
Author

unoravi commented Jul 14, 2021

@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.

@are
Copy link
Contributor

are commented Jul 14, 2021

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 are added type: feature request and removed status: waiting This issue waits for feedback from author. type: question This issue is a question. labels Jul 14, 2021
@unoravi
Copy link
Author

unoravi commented Jul 14, 2021

@are
For now, I am handling this manually but Kindly raise request to add automatic presence sending feature into the base Dart SDK.

Thanks

@unoravi
Copy link
Author

unoravi commented Aug 3, 2021

@are
Is there any update on Add automatic presence sending feature into the base Dart SDK?

@unoravi
Copy link
Author

unoravi commented Aug 11, 2021

@are
Any Updates.. ??

@unoravi
Copy link
Author

unoravi commented Oct 11, 2021

@are
Is there any update on Add automatic presence sending feature into the base Dart SDK?

@are
Copy link
Contributor

are commented Oct 11, 2021

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!

@unoravi
Copy link
Author

unoravi commented Oct 12, 2021

@are
Raised ticket on Pubnub Support : https://support.pubnub.com/hc/en-us/requests/39524

Awaiting for a quick solution.

Thanks

@unoravi
Copy link
Author

unoravi commented Feb 16, 2022

@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.

@unoravi
Copy link
Author

unoravi commented Dec 21, 2022

ANY UPDATES ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepted This issue is accepted as valid, but it's not being worked on yet.
Projects
None yet
Development

No branches or pull requests

2 participants