-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
What is your question?
Hello,
I am trying to get WiFi when the app is in the background and run into the following error message.
flutter: MissingPluginException(No implementation found for method wifiName on channel dev.fluttercommunity.plus/network_info)
When the app is in the foreground, I can get the WiFi name without issues.
Here is my info.plist related content
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>We require this permission to access the local WiFi name for background upload mechanism</string>
<key>NSLocationUsageDescription</key>
<string>We require this permission to access the local WiFi name</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>We require this permission to access the local WiFi name</string>
Here is a screenshot of the app's capability in XCode
Here is a screenshot of related content in the Podfile
I have set the Location permission to Always for the app
I have tried running flutter clean, flutter pub get, and rebuilding as well as uninstall and reinstall the app, but the issue is still there.
If someone got any pointer to get this run in iOS background mode, I'd greatly appreciate
Thanks,
Alex
Checklist before submitting a question
- I searched issues in this repository and couldn't find such bug/problem
- I Google'd a solution and I couldn't find it
- I searched on StackOverflow for a solution and I couldn't find it
- I read the README.md file of the plugin
- I am using the latest version of the plugin
- All dependencies are up to date with
flutter pub upgrade - I did a
flutter clean - I tried running the example project
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested