plus_plugins
plus_plugins copied to clipboard
[Bug]: onConnectivityChanged stream does not emit VPN status on Xiaomi/Realme UI Android 14 devices
Platform
Android 14 (RMX3890) Xiaomi/Realme UI
Plugin
connectivity_plus
Version
7.0.0
Flutter SDK
3.38.3
Steps to reproduce
-
Start the app while Wi-Fi + VPN are enabled.
-
Turn VPN off → the stream correctly emits an update (Wi-Fi only).
-
Switch from Wi-Fi to Mobile Data → the stream correctly emits a mobile data state.
-
Turn VPN on again → no VPN event is emitted in the onConnectivityChanged stream.
With VPN still enabled, switch from Mobile Data back to Wi-Fi → the stream emits the Wi-Fi state, but VPN is still not detected.

Code Sample
Test on plugin example app.
Logs
Logs is too long, there is no error in.
Add logs file in description.
Flutter Doctor
[✓] Flutter (Channel stable, 3.38.3, on macOS 15.7.2 24G325 darwin-arm64 (Rosetta), locale ru-RU)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.0.1)
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google
Chrome.app/Contents/MacOS/Google Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Connected device (2 available)
! Error: Browsing on the local area network for iPhone (Илия). Ensure the device is unlocked and attached
with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
Checklist before submitting a bug
- [x] I searched issues in this repository and couldn't find such bug/problem
- [x] I Google'd a solution and I couldn't find it
- [x] I searched on StackOverflow for a solution and I couldn't find it
- [x] I read the README.md file of the plugin
- [x] I'm using the latest version of the plugin
- [x] All dependencies are up to date with
flutter pub upgrade - [x] I did a
flutter clean - [x] I tried running the example project