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:
- Uploaded apps.
- Apps synced with App Center.
Enable Device Passcode
- Log in to the App Live dashboard.
- Upload your app from the Select Source panel, and select your device from the device listing, to launch your test session.
- On the App Live vertical toolbar, click Android Settings.
- On the Android settings prompt, enable Device Passcode.
You see a message on the dashboard that Device Passcode is enabled.
After enabling Device Passcode, your app automatically checks if the device has a passcode.
- Log in to the App Live dashboard.
- Upload your app from the Select Source panel, and select your device from the device listing, to launch your test session.
- On the App Live toolbar, click iOS Settings.
- On the iOS Settings prompt, under General Settings, enable Device Passcode.
You see a message on the dashboard that Device Passcode is enabled.
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.
- 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. - Use your system keyboard to enter the default device passcode
1234and pressEnterto continue your test workflow.
The default device passcode set on BrowserStack real iOS devices is 123456.
- In your app, trigger the workflow that requires you to enter the device passcode.
- Use your system keyboard to enter the default device passcode
123456and pressEnterto 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
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!