flutter_offline icon indicating copy to clipboard operation
flutter_offline copied to clipboard

The interface does not refresh when the network is disconnected to connect

Open love-bk opened this issue 5 years ago • 8 comments

The interface does not refresh when the network is disconnected to connect.

love-bk avatar Apr 18 '19 08:04 love-bk

Please provide more info. Like what version you are running on, the device OS, like how to reproduce.

jogboms avatar Apr 19 '19 09:04 jogboms

Device is an IOS virtual machine. The version used is 0.2.4. Steps to reproduce: The interface does not refresh when you disconnect the network and then reconnect.

love-bk avatar Apr 22 '19 01:04 love-bk

Having the exact same issue with iOS, it reacts when I put the device offline, but it wont react when I put it online again. Works properly on Android. Using the example provided in the plugin https://github.com/jogboms/flutter_offline/issues/29

jockebq avatar Feb 22 '20 20:02 jockebq

I am facing same issue with IOS device. When I disconnect, connectivityBuilder widget gets called. Now when I reconnect, the connectivityBuilder does not get called so the application stays on "Disconnected" status.

sachinsawant71 avatar Apr 26 '20 14:04 sachinsawant71

This issue still exists in IOS.Please help me to find a fix for this.

Ananthan1996 avatar May 28 '20 09:05 Ananthan1996

I have just researched the issue and tested it with Xcode debugger. Current status:

  • iOS Simulator - NOT WORKING
  • iOS Real device - WORKING

Issue happens in Reachability pod and the issue is tracked here: https://github.com/tonymillion/Reachability/issues/171 Maybe https://github.com/flutter/plugins/tree/master/packages/connectivity package should move to https://github.com/ashleymills/Reachability.swift or similar.

alhafoudh avatar Dec 03 '20 23:12 alhafoudh

Currently tracking flutter/flutter#20980

jogboms avatar Mar 05 '21 05:03 jogboms

Currently tracking flutter/flutter#20980

Closed since move to connectivity_plus?

mdmm13 avatar Feb 05 '24 08:02 mdmm13