plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

[connectivity_plus] [macOS] ConnectivityResult.none when VPN is turned on

Open deimantasa opened this issue 2 years ago • 3 comments

System info

Platform the Issue occurs on: macOS Plugin name: connectivity_plus Plugin version: 2.3.0

Steps to Reproduce

  1. Run the app with VPN -> ConnectivityResult.none
  2. Turn off VPN -> ConnectivityResult.wifi
  3. Turn on VPN -> ConnectivityResult.none
Flutter doctor output
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.3.1 21E258 darwin-arm, locale en-HK)
    • Flutter version 2.10.5 at /Users/Aurimas/FlutterProject/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (3 weeks ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/Aurimas/Library/Android/sdk
    • Platform android-32, build-tools 30.0.2
    • ANDROID_SDK_ROOT = /Users/mac/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode-13.3-beta.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.3.1 21E258 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 101.0.4951.54
    ! Error: iPhone has recently restarted. Xcode will continue when iPhone is unlocked. (code -14)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Expected Result

When VPN is turned on, connectivity result should stay on wifi/ethernet/mobile, but not switch to none, since none is an indication of no internet connection.

deimantasa avatar May 07 '22 14:05 deimantasa

Might be related: https://github.com/fluttercommunity/plus_plugins/issues/852

AliRezaBeitari avatar May 09 '22 11:05 AliRezaBeitari

Any update on this issue?

M-S-KHAN avatar Jun 13 '22 15:06 M-S-KHAN

Any updates on this?

deimantasa avatar Jul 07 '22 15:07 deimantasa

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days

github-actions[bot] avatar Dec 28 '22 00:12 github-actions[bot]

Still happens.

Flutter 3.3.10 connectivity_plus 3.0.2

https://user-images.githubusercontent.com/12739071/212079081-20762f29-2a2f-4839-ad94-10c2618f8357.mov

deimantasa avatar Jan 12 '23 13:01 deimantasa