You can use any third-party WiFi manager.
We recommend using our WiFi manager which is integrated with Headwind MDM.
Here's the download link: https://h-mdm.com/files/WiFiManager_v1.19.shared.apk
Notice: this app may not work on Android 11 and 12 (these OS versions support only WiFi suggestion API). It has been tested on Android 14 (Pixel 5), no issues were detected.
This WiFi manager can be remotely configured from the web panel, so the mobile device can only connect to specified WiFi networks, and the WiFi password can be preinstalled on the device.
Without the remote configuration, this WiFi manager just allows the user to manage WiFi networks.
The WiFi manager is configured by using "Application settings". Here is the sample configuration:
Package ID: com.hmdm.wifimanager
Attribute: config
Value:
{
"allAllowed": false / true,
"freeAllowed": false / true,
"allowed": [
{
"ssid": "ssid value",
"bssid": "bssid value",
"password": "password value"
},
...
]
}
Notice: do not copy this value to your environment "as is", this is not a valid JSON! Use the example below!
Meaning of JSON attributes in the configuration:
allAllowed: Are connections to any WiFi networks allowed. Defaults to true.
freeAllowed: Are connections to free WiFi networks allowed. Defaults to true. This flag is ignored if allAllowed is set to false.
allowed: list of allowed WiFi networks.
For each network, you must set either SSID or BSSID. The password is optional; if set, the user does not need to enter the password to connect to WiFi network.
Example of a valid WiFi configuration:
{
"allAllowed": false,
"freeAllowed": false,
"allowed": [
{
"ssid": "MyNetwork",
"password": "Secret123"
},
{
"ssid": "MySecondNet",
"password": "An0ther$ecret"
}
]
}