jogboms/flutter_offline

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

love-bk opened this issue · 8 comments

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

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

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.

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
#29

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.

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

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: tonymillion/Reachability#171
Maybe https://github.com/flutter/plugins/tree/master/packages/connectivity package should move to https://github.com/ashleymills/Reachability.swift or similar.

Currently tracking flutter/flutter#20980

mdmm13 commented

Currently tracking flutter/flutter#20980

Closed since move to connectivity_plus?