Webpage not allowed to use camera in SOTI Surf

Solved
IS
Ian Stuart
Cross Country Couriers

Hello,

I'm running into a strange issue where opening a standard web link URL from a kiosk lockdown in SOTI Surf results in the error "Check your browser's privacy settings to use camera".

This is on Android Zebra TC56J on OS 8.1.0 and agent version  2024.1.4.1149. SOTI server is 2024.0.0.1075 on premises.

Anyway, I have added all instances of any installed camera apps to the lockdown screen (just not in the XML layout so they don't show as shortcuts) in addition to SOTI Surf itself. The site and all subdomains of it are whitelisted. I cannot find any setting that would prevent the camera from working. Does anyone have some ideas to check? Thanks!

All camera apps and surf added to home screen:

a year ago
Android
ANSWERS
IS
Ian Stuart
a year ago

I'm going to respond to my own topic with the solution I finally figured out.

I changed the SOTI Surf to NOT use kiosk mode, then whitelisted the sites I needed (including the root/base website). Made sure it still used full screen and hid all other items. Under lockdown, I then changed it from https:// to surf:// for the action, keeping the same URL. This allowed the camera to work for the website while still keeping it all locked down.

Solution
RC
Raymond Chan Diamond Contributor
a year ago

What are the version and build numbers of your Soti Surf?

Would you mind sharing the standard web link URL (or any similar URL you are aware of) for replicating your problem as a base for me to further test and debug?

IS
Ian Stuart
a year ago

2024.1.1 Build 4 is what version of Surf I have.

I'm confirming if I can post the full link (it's to a safety reporting feature) but it's a custom company form we have using Jotform.

IS
Ian Stuart
a year ago

Hello Raymond,

Here is a testing URL. In lockdown it has the issue.

ccfs[dot]jotform[dot]com/241984222178057

IS
Ian Stuart
a year ago

Hello @Raymond do you have any further ideas based on this info?

How does it behave if surf is used without lockdown for this page?

Normally for those permissions (as these are not app but website permissions) have to be granted when the website is opened or are being able to be changed when clicking on the address bar (in chrome for example).

I have never seen yet (but maybe someone else found a possibility) to grant website permissions from Soti side as even in the privacy settings there's no option for camera usage or similar. So from my experience you need to grant this permission once per device when the website is used the first time and asks for this permission.

IS
Ian Stuart
a year ago

So it does load fine on Surf outside of the lockdown. But this doesn't clear anything up for me because I've added everything I can think of already to the lockdown home page.

if it works fine outside lockdown, can you check with identify_activity when using it outside lockdown if you get something shown in the logs you may need to add to the lockdown as well.

IS
Ian Stuart
a year ago

Hello Rafael, sorry I'm just now circling back to this, identify_activity provides this "net.soti.surf/.ui.activities.BrowseContainerActivity" when I have the camera on the webpage open. I tried adding it to lockdown and it still doesn't work in the kiosk.

IS
Ian Stuart
a year ago

If I do identify_activity in lockdown in the Soti Surf browser I get this back.

(Current activity name: net.soti.mobicontrol.androidwork/net.soti.mobicontrol.lockdown.kiosk.KioskActivity)

B
BPMOD@SOTI
a year ago

Hello Ian

Thanks for posting in SOTI Pulse.

Could you please confirm if you had an opportunity to test the suggested solutions by Raymond and Rafael and if it has successfully addressed your query?

If the above solution helps you to resolve your issue, then please mark this post as the solution. Also, feel free to reach out if you need clarification or have any follow-up questions.

IS
Ian Stuart
a year ago

Hello, unfortunately both suggestions have not fixed the problem at this time. net.soti.surf/.ui.activities.BrowseContainerActivity is what shows for identify_activity but adding that to lockdown doesn't work for the camera.