hoerresb / WifiWizard

A Cordova plugin for managing Wifi networks
Apache License 2.0
205 stars 176 forks source link

Is the repo... dead? #37

Closed bojidar-bg closed 9 years ago

bojidar-bg commented 9 years ago

@parsonsmatt :+1: this repo is quite helpful for various project, but... it is dead/abandoned?

parsonsmatt commented 9 years ago

Essentially, yes. I made the plugin for a summer internship last year, and haven't worked with Android or Cordova since. I don't have an Android or Cordova setup to test pull requests, so I'm not able to confidently accept PRs.

If someone is interested in taking the project over, I'm happy to facilitate that.

hoerresb commented 9 years ago

I work with android and ionic / Cordova everyday. I even use this plugin in the application I'm working on. I feel comfortable updating the repo but I've been very slow to do so.

I can go through some of the PRs this weekend and see what can be merged. On Jul 15, 2015 10:59 AM, "Matt Parsons" notifications@github.com wrote:

Essentially, yes. I made the plugin for a summer internship last year, and haven't worked with Android or Cordova since. I don't have an Android or Cordova setup to test pull requests, so I'm not able to confidently accept PRs.

If someone is interested in taking the project over, I'm happy to facilitate that.

— Reply to this email directly or view it on GitHub https://github.com/parsonsmatt/WifiWizard/issues/37#issuecomment-121661113 .

derek1906 commented 9 years ago

@hoerresb If you are going to update the repo (which is great!), are you going to implement #36?

lepermunna commented 9 years ago

^ +1 to that ;)

hoerresb commented 9 years ago

Sounds good. I will be sure to add that in. On Jul 18, 2015 2:30 AM, "Derek Leung" notifications@github.com wrote:

@hoerresb https://github.com/hoerresb If you are going to updating the repo (which is great!), are you going to implement #36 https://github.com/parsonsmatt/WifiWizard/issues/36?

— Reply to this email directly or view it on GitHub https://github.com/parsonsmatt/WifiWizard/issues/37#issuecomment-122508711 .

hoerresb commented 9 years ago

.getScanResults is updated. It now returns all possible information of the scan results. Including frequency, time stamp, and wifi capabilities. Here is an example of the json response.

{
     BSSID: "..."
     SSID: "..."
     capabilities: "[WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][ESS]"
     frequency: 2452
     level: 3
     timestamp: 21407208451
}
JessePimenta commented 9 years ago

@hoerresb if you have any example implementation you could share, would be greatly appreciated. trying to use methods similar to WifiManager's but just want to see a little more documentation on Wifiwizard. new to android/cordova

lepermunna commented 9 years ago

Hi Jesse, I found this really helpful when getting started: https://github.com/parsonsmatt/WifiWizardDemo

hoerresb commented 9 years ago

@JessePimenta I would definitely take a look at the demo linked by @lepermunna https://github.com/parsonsmatt/WifiWizardDemo.

Most functions are not that complected and can be taken from the read me. For example, this will return the current wifi ssid.

      WifiWizard.getCurrentSSID(function(response){
            //response is the current SSID
            console.log(response);
            },function(fail){
             //response if somethings should go wrong. 
             console.log(fail);
            });

If you have any other questions please let us know. Thanks.

JessePimenta commented 9 years ago

@hoerresb, @lepermunna thanks a lot. now im running into issues when testing the app, it seems to have problems sourcing cordova.js from the folder it is in initially. also had to move the location of WifiWizard.js to get it to pick up the functions of wifiWizard. any idea why its not able to find the correct file path? just cloned it directly from the repo... thanks again for your help

JessePimenta commented 9 years ago

@hoerresb @lepermunna I'm using Ionic and it cant seem to pick up WifiWizard. Maybe I'm not injecting it correctly...

JessePimenta commented 9 years ago

screen shot 2015-09-09 at 12 24 50 pm

bojidar-bg commented 9 years ago

@JessePimenta wait.... are you using it in the browser?

JessePimenta commented 9 years ago

tried in both browser and ionic simulator @bojidar-bg

JessePimenta commented 9 years ago

@bojidar-bg getting the same error in both

hoerresb commented 9 years ago

Ok. It's normal for cordova.js not to be found when testing in your browser. Also WifiWizard will be undefined if you only test this in your browser.

To be tested properly deploy to your Android device. On Sep 9, 2015 2:04 PM, "Jesse" notifications@github.com wrote:

@hoerresb https://github.com/hoerresb, @lepermunna https://github.com/lepermunna thanks a lot. now im running into issues when testing the app, it seems to have problems sourcing cordova.js from the folder it is in initially. also had to move the location of WifiWizard.js to get it to pick up the functions of wifiWizard. any idea why its not able to find the correct file path? just cloned it directly from the repo... thanks again for your help

— Reply to this email directly or view it on GitHub https://github.com/parsonsmatt/WifiWizard/issues/37#issuecomment-139011115 .

JessePimenta commented 9 years ago

@hoerresb is there any way to test it in ionic without deploying to an android device?

hoerresb commented 9 years ago

I'm going to guess no. WifiWizard is using an Android API to do all the wifi confingurations. http://developer.android.com/reference/android/net/wifi/WifiManager.html

hoerresb commented 9 years ago

You might be able to use something like GenyMotion, but I haven't tested it yet. https://www.genymotion.com/#!/

JessePimenta commented 9 years ago

ah okay. thank you for your help, ill try it out

hoerresb commented 9 years ago

No problem.

I think I will put up different demo using ionic and give some specific examples, but it won't be until the weekend.

JessePimenta commented 9 years ago

@hoerresb that would be awesome. looking forward to checking that out ! thank you again.