Closed Johnny314 closed 1 year ago
@Johnny314 you can use these params to pass WiFi info:
private Map<String, String> mProvisioningValues;
mProvisioningValues.put(DevicePolicyManager.EXTRA_PROVISIONING_WIFI_SSID, s);
mProvisioningValues.put(
DevicePolicyManager.EXTRA_PROVISIONING_WIFI_SECURITY_TYPE, s);
mProvisioningValues.put(DevicePolicyManager.EXTRA_PROVISIONING_WIFI_PASSWORD, s);
I am facing the same issue. It just shows a dialog with a message that reads can't setup device could not connect to wifi