ably / ably-flutter

A wrapper around our Cocoa and Java client library SDKs, providing iOS and Android support for those using Flutter and Dart.
https://ably.com/download
Apache License 2.0
60 stars 16 forks source link

When the app comes back to the foreground from the background #504

Closed walkerJung closed 8 months ago

walkerJung commented 8 months ago

Hi, I'm using flutter ably sdk. When testing on Android and IOS devices, when the app goes to the background and comes back to the foreground, there are times when the channel is not attached, but when the app comes back to the foreground, should I manage the realtime and channel?

┆Issue is synchronized with this Jira Bug by Unito

walkerJung commented 8 months ago

@sacOO7 Now I'm going to close this issue. It was my mistake using provider and thank you for your care.

sacOO7 commented 8 months ago

Btw, @walkerJung if needed, you can post updated code here, so it's helpful for others. Also, about disconnectedRetryTimeoutand suspendedRetryTimeout, those options might not work on iOS for now. We are planning to address them soon as a part of https://github.com/ably/ably-flutter/issues/509

sacOO7 commented 8 months ago

Feel free to raise new issues : )