I am trying to achieve a functionality where, users are able to connect to WIFI straight from a webpage/website/browser. From researching, I have found that NEHotspotConfiguration works, but this code is not JavaScript and I am unsure of how to achieve this using JavaScript.
To put things in perspective, I am trying to allow users to automatically connect to WIFI, by fetching user specific ssid and password data and upon loading the page, inserting these in to the wifi configuration setting, so they can automatically connect to the wifi upon page load, or, by clicking a 'connect to wifi' button that I can create.
Any help would be very very appreciated. Thank you