Comments (4)
You are correct in needing the permissions but you also need to request them in code before attempting any of the connection stuff. I suggest something like https://pub.dev/packages/permission_handler a good example of implementation can be found here https://stackoverflow.com/a/58680215.
The permission handling was intentionally left out of this plugin (instead of forcing it on users) since it isn't likely the only use case for certain permissions and there are plenty of flutter packages that handle permissions alone.
from flutter-plugins.
I'm going to try and remember to add that to the usage documentation.
from flutter-plugins.
Depending on your use case though https://github.com/weplenish/flutter_wifi_connect may be a better fit.
from flutter-plugins.
Facing the same issue cannot solve it
from flutter-plugins.
Related Issues (17)
- LWA - iOS - login
- scanNetworks() causing the app to crash HOT 1
- findAndConnect returns FALSE in android 10 HOT 1
- Rssi Refreshing rate? HOT 1
- MissingPluginException(No implementation found for method promptPermissions on channel wifi_flutter) HOT 1
- scanNetworks() throwing PlatformException on Android 11 Samsung A52
- wifi_flutter: ^0.1.0+1 - Compile error with Flutter 3.0.0 HOT 2
- Kotlin version incompatibility HOT 3
- LWA - add iOS SDK
- LWA - iOS - logout
- LWA - iOS - get Access Token
- LWA - iOS - get dash / alexa authorization code
- Not working in iOS HOT 1
- While calling scnaNetworks() app crashed. HOT 4
- Not working on IOS HOT 2
- [wifi_flutter] Wifi channel and frequency HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-plugins.