Skip to main content

Device Passcode on remote devices

Mobile applications that deal with sensitive data require device passcodes as a security layer for data protection. Banking/Financial apps or Business/Enterprise apps that handle critical personal data, apps that are distributed via Mobile Device Management (MDM) software of enterprises, and apps that have features that require PIN or passcode, are examples of apps that require device passcodes for data security.

You can test apps that require devices to have passcode enabled, on remote BrowserStack devices, by using the App Live Device Passcode feature.

Note: You can enable the Device Passcode, Biometric Authentication, and Image Injection settings together in the same test session on App Live.

In this guide, you learn about:

Supported devices and apps

App Live supports testing of apps with Device Passcode on the following devices:

Devices running Android OS 8 and higher.

The devices that do not support testing with Device Passcode appear grayed out in the device listing on the App Live dashboard. Unsupported devices grayed out

Devices running iOS 13 and higher.

App Live supports testing of the following types of apps using Device Passcode:

Enable Device Passcode on remote devices

Note: The Device Passcode feature for Android devices is currently in Beta, and may involve changes based on feedback.
  1. Log in to the App Live dashboard.
  2. On the App Live dashboard, upload your app from the left panel.
  3. After your app is uploaded, click the configuration icon next to the file name of your app. Configuration icon
  4. Under App Configurations, enable Device Passcode. Device Passcode toggle enabled on Android devices
  5. Select your device from the list of available devices in the device listing on the right panel, to launch your test session.
  1. Log in to the App Live dashboard.
  2. On the App Live dashboard, upload your app from the left panel.
  3. Select your device from the device listing on the right panel, to launch your test session.
  4. On the App Live toolbar, click iOS Settings.
  5. On the iOS Settings prompt, under General Settings, enable Device Passcode. Enable Device Passcode on iOS devices

What you can test

You can test the following scenarios by using Device Passcode on App Live:

You can test if the device has a passcode by enabling Device Passcode on remote devices.

The default device passcode is preset in the remote Android devices. After you launch your test session, your app automatically checks if the device has a passcode.

App Live currently does not support testing of app features that require you to enter the device passcode.

  • You can test if the device has a passcode, by enabling the Device Passcode setting. The default device passcode set on the remote iOS devices is 123456. After enabling Device Passcode, your app automatically checks if the device has a passcode.
  • You can test your app for features that require you to enter the device passcode. Enter the default device passcode 123456 when prompted, by using your keyboard.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Talk to an Expert