Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to configure WiFi setting and connect and disconnect from WiFi #15231

Closed
yhua537 opened this issue Mar 7, 2018 · 18 comments
Closed

Ability to configure WiFi setting and connect and disconnect from WiFi #15231

yhua537 opened this issue Mar 7, 2018 · 18 comments
Labels
c: new feature Nothing broken; request for a new capability customer: crowd Affects or could affect many people, though not necessarily a specific customer. p: connectivity The connectivity plugin package flutter/packages repository. See also p: labels. waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds would be a good package Separate Flutter package should be made for this

Comments

@yhua537
Copy link

yhua537 commented Mar 7, 2018

This is a new feature request related to connectivity plugin.

Currently, flutter don't have ability to change WiFi configuration and inability to control device to disconnect from current WiFi and connect to WiFi that user selected/configure in the application. This is useful in applications require reliable initial setup for device like google chromecast/home and other embedded device. Smart config is one of the option but it is currently not very reliable and heavily impact by the environment even in native android/ios.

I am considering migrate my current application to flutter but this is main feature currently blocking me. Thanks in advance.

@jonentropy
Copy link

I would like this feature too, for an IoT product that I am working on.

@florian-guillemard
Copy link

I think every person who want to do an IoT product need that..
We need that for our project.. but for now, we starting with Bluetooth :/

@zoechi
Copy link
Contributor

zoechi commented May 14, 2018

You can make native platform features available to Dart yourself by building a plugin https://flutter.io/platform-channels/

@yhua537
Copy link
Author

yhua537 commented May 14, 2018

Hi @zoechi, yes, I am aware that option but I am not an ios developer and don't have the environment to test with. While it is not essential for many web based application development, it is important feature for IoT product as @tristan2468 and @NK36 pointed out, It is also useful for company to provide inhouse free WiFi for their visitor with registered accounts. It will be nice if it is supported by official plugins.

Maybe I will give a go & see if I can contribute later.

@florian-guillemard
Copy link

Hi,

For information, I was thinking to create a plugin and I am on the edge to have something working!
Like @yhua537, I am not an iOS developer and do not have the environment to test with (android user)!
So, I am going to buy an iPhone in order to test my plugin which is working for Android only right now :)

Stay tuned!

@florian-guillemard
Copy link

Hi guys,

So, I started a plugin for WiFi abilities :)

For now, there is just Android, I just received an iPhone 7 / iOS 11.3 in order to develop the iOS code!

https://github.com/alternadom/WiFiFlutter

@jonentropy
Copy link

Awesome work, sadly, GPL V3 means I will not be able to use this.

@florian-guillemard
Copy link

I don't know much about licences.. why can't you use this ?
I will work on that subject and stay open for changing the licence!

@jonentropy
Copy link

GPL requires the application linking to it to be GPL also.
For my use (proprietary app) this is not possible, so BSD, MIT or Apache licenses are preferred.
Of course, it is entirely up to you which licence you wish to use.

@florian-guillemard
Copy link

Ok, thanks for your advice! I hope you will contribute to the project @tristan2468 :)
I change to MIT licence so..

@yhua537
Copy link
Author

yhua537 commented Jun 4, 2018

Thanks @alternadom , that save me time from creating my own plugin, I will test and contribute to yours instead.

@fukemy
Copy link

fukemy commented Jul 20, 2018

100000+ like and heart to you @alternadom. Love u so much, but im not gay

@zoechi zoechi added c: new feature Nothing broken; request for a new capability p: first party would be a good package Separate Flutter package should be made for this labels Jul 20, 2018
@zoechi
Copy link
Contributor

zoechi commented Jul 20, 2018

It's better to upvote the initial comment instead of adding +1 (or +x ;-) ) comments to get priority increased.

@zoechi zoechi added the plugin label Dec 6, 2018
@zoechi zoechi added p: connectivity The connectivity plugin and removed p: connectivity The connectivity plugin labels Jan 4, 2019
@THEJDEEP1
Copy link

THEJDEEP1 commented Feb 21, 2019

@alternadom @zoechi I'm trying to connect to wifi network which does not have password or any security. what params should I send in password field as I have send '' empty string but it does not connect. and no errors also. when I try to connect to a network which has security is working fine.

@robauer
Copy link

robauer commented May 29, 2019

string ssid = "someSSID";
string password = "";

This always works for me...

@csells
Copy link
Contributor

csells commented Jan 10, 2020

@yhua537 does the https://github.com/alternadom/WiFiFlutter project solve this problem for you?

@csells csells added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 10, 2020
@VladyslavBondarenko VladyslavBondarenko added the customer: crowd Affects or could affect many people, though not necessarily a specific customer. label Mar 16, 2020
@no-response
Copy link

no-response bot commented Mar 16, 2020

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

@no-response no-response bot closed this as completed Mar 16, 2020
@lock
Copy link

lock bot commented Apr 4, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@lock lock bot locked and limited conversation to collaborators Apr 4, 2020
@flutter-triage-bot flutter-triage-bot bot added the package flutter/packages repository. See also p: labels. label Jul 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: new feature Nothing broken; request for a new capability customer: crowd Affects or could affect many people, though not necessarily a specific customer. p: connectivity The connectivity plugin package flutter/packages repository. See also p: labels. waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds would be a good package Separate Flutter package should be made for this
Projects
None yet
Development

No branches or pull requests

9 participants