URL error in lockdown - Android 14

Solved

Hello,

Following the update to Android 14 on our managed Samsung devices, we are getting a net::ERR_UNKNOWN_URL_SCHEME when trying to access the wifi app using the action ''action://CONFIGURE_WIFI'' in lockdown mode.


Is there any workaround or fix to this? I've tried sending intents with ''android.settings.WIFI_SETTINGS'' without luck.


Thank you,


a year ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
a year ago

Hi Jamil,

Thanks for sharing your test results.  I'll see if it is repeatable on my test devices.

In the meantime, a possible workaround can be changing the kiosk item to a script with the following

    start activity  net.soti.mobicontrol.androidwork/net.soti.mobicontrol.ui.wifi.ApListActivity

It works on my tested AE devices.  Results may vary with device brands, models and/or firmware versions.

Solution
JM
Jamil M
a year ago

Hi Raymond,

The workaround is working. Thank you very much for your advice and your time.

ZC
Zafer Cigdem
a year ago

Hi Jamil,

Do you want to list WiFi setting on the lockdown only? or do you want to trigger a script whenever user click on the item on the lockdown?

Please also share your lockdown settings as well that we can see your config, if possible

JM
Jamil M
a year ago

Hi Zafer,

I'd like to trigger an action / script when the user clicks on the item in lockdown. 

Here are the lockdown settings:





Thank you

ZC
Zafer Cigdem
a year ago

Hi,

If you want to use a specific script, then you can try as below:

you may use .bat/.cmd file on the device side, and whenever the user click on the item, this will trigger an action let's say (script that you saved as the name of .bat/.cmd).

As soon as the .bat/.cmd file stays on the device it will trigger an action in this way.

ZC
Zafer Cigdem
a year ago

send_intent.bat --> is only a name of my file which is on my Android device. You can use 

my_action_1.bat or my_action_1.cmd any other name as well :)

JM
Jamil M
a year ago

Hi Zafer,

Thank you for your time and the helpful advice.

RC
Raymond Chan Diamond Contributor
a year ago

Hi Jamil,

Have you deployed your lockdown menu profile payload to devices of other brands/models or firmware versions?   If so, do you have same and consistent results on such devices to confirm the problem is related to Android 14 as indicated in your post title?

Is there a possibility that there is typo or incorrect formatted values set in your profile policy?  For example, did you configure Actions field to be "action://" and  Package Name or URL file to be "action://CONFIGURE_WIFI"?  Please attach captured device screenshot with the line "net:ERR_UNKNOWN_URL_SCHEME"

JM
Jamil M
a year ago

Hi Raymond,

We currently use the same profile on the following models: Samsung A15, A35, A53, A54 and S21FE.
We have some of each on OS 12, OS 13 and OS 14. The action is only outputting the error on OS 14.


The package name is set to ''CONFIGURE_WIFI'' only with the action field set to ''action://''.

Here's a screen shot of the error:


Here's a screenshot of the same action from a device on OS 13 (behaves as expected):



Thank you,

RC
Raymond Chan Diamond Contributor
a year ago

Hi Jamil,

I can repeat your problem on an Android 14 test device I got a moment ago.   Please note that you can also directly change the kiosk item to  

    launch://net.soti.mobicontrol.androidwork/net.soti.mobicontrol.ui.wifi.ApListActivity

instead of using the script approach I mentioned in my earlier post, which has already been marked as solution.

JM
Jamil M
a year ago

Hi Raymond, 

Thank you for taking the time to test it and for the alternative solutions, it is much appreciated.