There's a new home for Articles. Find Articles on Our Product Support Page.
Hello We're planning to integrate a VPN application (Zscaler). When it is initialized, we have an Android popup (see below) that the user must authorize by pressing the "OK" button. I'm looking for a way to automate this action. We have a solution that uses a JS script (Mobicontrol) with the device.injectKey function to perform TAB, Enter and timers.This doesn't seem 100% reliable to me, I'm afraid of having a lot of failures. Does anyone have a better solution to avoid this popup or to authorize it automatically ? Activity name Popup : com.android.vpndialogs/.ConfirmDialog This GitHub post explains the same problem, but ADB resolution is not remotely automatable...https://stackoverflow.com/questions/67980851/grant-android-vpn-permission-via-command-line-using-adb Thank you for your help
Top-tier experts who are delivering outstanding content. Should have more than 7000 points.
Experts who are consistent with great content. Should have more than 1000 points
Highly experienced members with valuable inputs. Should have more than 700 points
Beginners taking the initiative. Should have more than 500 points