Hi Sriram,
I am the Gecko dev for Captive portal on Firefox OS. The information of
"network requires captive portal login" is only available after user
connects to that wifi network.
I've provide a GAIA prototype that can receiving the notification about
the existence of captive portal and delegate to Browser app for
displaying login page.
You can take a look at the modification in
https://bugzilla.mozilla.org/show_bug.cgi?id=780793 .
On Wed 12 Dec 2012 03:04:48 PM CST, Sriram Krishnan wrote:
Hi ,
I am the GAIA dev for Captive portal , i have a few questions on how to proceed
,
As an initial step i would like to have wireless networks show up (on my B2G
desktop), i would also like to know how to differentiate between normal
wireless networks and networks that require captive portal to signin
I have looked into the exiting gaia code at apps/settings/js/wifi.js
var req = gWifiManager.getNetworks(); // line-285
Is there mock data that could use to get a list of the networks on the UI ?
if so where do i get them and how do i use them ?
i see this call in the JS , i need to know what it returns and what is the
data that it returns and identify the networks that require opening a
authentication window on the browser . Is there any attribute i should be
looking for ?
Also , will the url to post authentication username/password be available in
the same call ?(I will ask more questions on what data would be returned after
success/failure after this)
Thanks
Sriram
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g
--
Shih-Chiang Chien
Mozilla Taiwan
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g