Skip to main content
Transform your testing process with: Real Device Features, Company-wide Licences, & Accessibility Testing
No Result Found
Connect & Get help from fellow developers on our Discord community. Ask the CommunityAsk the Community

Device Passcode on BrowserStack real devices

This feature is available only under Team Pro and Enterprise Pro plans. For more details check out our pricing page.

Mobile applications that deal with sensitive data require device passcodes as a security layer for data protection. Banking apps, payment apps, and enterprise apps are examples of apps that often require device passcodes to ensure secure access.
Using App Live, you can test apps on BrowserStack real devices that require a passcode to test the following scenarios:

  • Test if the device has a passcode.
  • Test app features that require you to enter the device passcode.

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

Supported apps and devices

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

Device type OS version
Android v8 and later
iOS v13 and later

BrowserStack disables the Settings app on the following devices for security reasons. As a result, you cannot test apps that require a device passcode on these devices:

  • Xiaomi devices
  • Vivo devices
  • Huawei devices

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

Enable Device Passcode

  1. Log in to the App Live dashboard.
  2. Upload your app from the Select Source panel, and select your device from the device listing, to launch your test session.
  3. On the App Live vertical toolbar, click Android Settings.
  4. On the Android settings prompt, enable Device Passcode.
    You see a message on the dashboard that Device Passcode is enabled. Enable Device Passcode on Android devices

After enabling Device Passcode, your app automatically checks if the device has a passcode.

  1. Log in to the App Live dashboard.
  2. Upload your app from the Select Source panel, and select your device from the device listing, to launch your test session.
  3. On the App Live toolbar, click iOS Settings.
  4. On the iOS Settings prompt, under General Settings, enable Device Passcode.
    You see a message on the dashboard that Device Passcode is enabled. Enable Device Passcode on iOS devices

After enabling Device Passcode, your app automatically checks if the device has a passcode.

Test your app using device passcode

After you enable device passcode on a BrowserStack real device, follow these steps to test your app:

The default device passcode set on BrowserStack real Android devices is 1234.

  1. In your app, trigger the workflow that requires you to enter the device passcode.
    Since password entry is sensitive information, we are unable to stream the device keypad, or at times, the entire device screen. You may be unable to see the device keypad or see a black device screen when you are prompted to enter the passcode.
  2. Use your system keyboard to enter the default device passcode 1234 and press Enter to continue your test workflow.

The default device passcode set on BrowserStack real iOS devices is 123456.

  1. In your app, trigger the workflow that requires you to enter the device passcode.
  2. Use your system keyboard to enter the default device passcode 123456 and press Enter to continue your test workflow.

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
Download Copy Check Circle