Open BTree-dev1 opened 3 weeks ago
I am not able to fully understand your explanation.
For what I can see, network_info_plus
returns null
as SSID. What is the other plugin WiFiForIoTPlugin.getSSID()
returning you? From your log it says <unknown ssid>
, which doesn't look good either.
Do you have
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
in your Android manifest?
Yes I have ACCESS_FINE_LOCATION permission in manifest. Even though I didn't get the SSID. I tried network_info_plus package first that gives me null, After that I tried wifi_iot packages that too give me <unknown ssid>
But When I this android:requestLegacyExternalStorage="true"
in my manifest I'm able to get the SSID.
Is this a correct fix ?
That's so weird :)
I have no idea why would the storage permissions affect the WIFI name permissions.
I get the same issue, i am working on an old tablet, and it also does not work, I even added the storage permission and it did not work.
also why are all the tests failing in the action area. for network info plus
also why are all the tests failing in the action area. for network info plus
Can you specify which tests exactly?
Integration tests are flaky due to emulator taking too long to start on GitHub Actions.
I just ran the example app on my device, and it works for me, I can see the Wi-Fi Name, BSSID, etc.
Can you try with the example app in the repo, as provided, and see if you get the same results?
i tried again, just found out the location permission was not enabled, for that specific app, sorry
so this actions error list is normal? https://github.com/fluttercommunity/plus_plugins/actions/workflows/network_info_plus.yaml
so this actions error list is normal? https://github.com/fluttercommunity/plus_plugins/actions/workflows/network_info_plus.yaml
Depends on the job. Like I said, many of the integration_test
runs on Android fail because of the emulator starting issues.
If there is a specific job you would like to know more, let me know.
Otherwise, I'd ask you to keep a positive and professional attitude when interacting with the team.
Platform
Android 14
Plugin
network_info_plus
Version
5.0.3
Flutter SDK
3.19.6
Steps to reproduce
I have connected to WiFI Jarvis which have good internet connection.... When Look for that SSID using this package getting null
I have tried in the Other WiFiIOT package too that gives me
Code Sample
Logs
Flutter Doctor
Checklist before submitting a bug
flutter pub upgrade
flutter clean