|
| 1 | +--- |
| 2 | +id: device-passcode-on-realdevice |
| 3 | +title: Device Passcode on Real iOS Devices |
| 4 | +sidebar_label: Device Passcode |
| 5 | +description: Enable and test iOS app flows that require a device passcode during manual sessions on real iPhones and iPads. |
| 6 | +keywords: |
| 7 | + - device passcode |
| 8 | + - ios passcode |
| 9 | + - manual app testing |
| 10 | + - authentication testing |
| 11 | + - security testing |
| 12 | + - mdm apps |
| 13 | + - enterprise apps |
| 14 | + - lambdatest ios |
| 15 | + - real devices |
| 16 | +url: https://www.lambdatest.com/support/docs/device-passcode-on-realdevice/ |
| 17 | +site_name: LambdaTest |
| 18 | +slug: device-passcode-on-realdevice/ |
| 19 | + |
| 20 | +--- |
| 21 | + |
| 22 | +import CodeBlock from '@theme/CodeBlock'; |
| 23 | +import { YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY } from "@site/src/component/keys"; |
| 24 | + |
| 25 | +import Tabs from '@theme/Tabs'; |
| 26 | +import TabItem from '@theme/TabItem'; |
| 27 | + |
| 28 | +<script type="application/ld+json" |
| 29 | + dangerouslySetInnerHTML={{ __html: JSON.stringify({ |
| 30 | + "@context": "https://schema.org", |
| 31 | + "@type": "BreadcrumbList", |
| 32 | + "itemListElement": [{ |
| 33 | + "@type": "ListItem", |
| 34 | + "position": 1, |
| 35 | + "name": "Home", |
| 36 | + "item": "https://www.lambdatest.com" |
| 37 | + },{ |
| 38 | + "@type": "ListItem", |
| 39 | + "position": 2, |
| 40 | + "name": "Support", |
| 41 | + "item": "https://www.lambdatest.com/support/docs/" |
| 42 | + },{ |
| 43 | + "@type": "ListItem", |
| 44 | + "position": 3, |
| 45 | + "name": "Device Passcode on Real iOS Devices", |
| 46 | + "item": "https://www.lambdatest.com/support/docs/device-passcode-on-realdevice/" |
| 47 | + }] |
| 48 | + }) |
| 49 | + }} |
| 50 | +></script> |
| 51 | + |
| 52 | +> To enable it for your organization, please contact us via <span className="doc__lt" onClick={() => window.openLTChatWidget()}>**24×7 chat support**</span> or you can also drop a mail to **[email protected]**.<br /> |
| 53 | +
|
| 54 | +LambdaTest’s **Device Passcode** feature allows you to test applications that require a device passcode as part of their security or authentication flow. |
| 55 | +This is especially useful for apps in **Banking/Finance**, **Enterprise**, or those distributed via **MDM (Mobile Device Management)** that mandate passcode entry for sensitive workflows. |
| 56 | + |
| 57 | +## Use Cases |
| 58 | + |
| 59 | +- Verify app behavior when the device requires a passcode for login or secure actions. |
| 60 | +- Test app workflows that trigger a system passcode prompt (e.g., after inactivity, or accessing secure sections). |
| 61 | +- Validate app compliance with enterprise policies that enforce passcodes. |
| 62 | +- Reproduce real-world scenarios for apps with heightened security requirements. |
| 63 | + |
| 64 | +## Supported Devices |
| 65 | + |
| 66 | +Currently, the Device Passcode feature in **App Automation** is enabled on the following iOS real devices: |
| 67 | + |
| 68 | +| Device Model | iOS Version | |
| 69 | +|-----------------------|-------------| |
| 70 | +| iPhone 16 | 18 | |
| 71 | +| iPhone 16 Pro | 18 | |
| 72 | +| iPad Air 11 (2024) | 18 | |
| 73 | +| iPhone 15 | 17 | |
| 74 | +| iPhone 14 | 16 | |
| 75 | +| iPhone 13 | 15 | |
| 76 | + |
| 77 | +> We are actively working on expanding coverage to **all supported iOS devices** on LambdaTest Real Device Cloud. |
| 78 | +> Support for Android devices with passcode testing is **Coming Soon**. |
| 79 | +
|
| 80 | +## Default Passcode |
| 81 | + |
| 82 | +- The default passcode for LambdaTest iOS real devices is **123456**. |
| 83 | +- Use your system keyboard to input this passcode when prompted during testing. |
| 84 | + |
| 85 | +## Accessing Device Passcode in Manual Testing |
| 86 | + |
| 87 | +**Step 1:** On the App Testing Dashboard, click on **Advanced Settings** and enable the **Device Passcode** filter. This will refine the device list to show only those devices where the passcode feature is available. |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | +**Step 2:** Start a manual testing session on a real iOS device. |
| 92 | + |
| 93 | +**Step 3:** From the session toolbar, open the **iOS Settings** panel and toggle **Passcode** on. Once enabled, the device will take **20–25 seconds** to complete the passcode setup. Please wait for confirmation. |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | +**Step 4:** Trigger the workflow inside your app that requires the device passcode. |
| 98 | + |
| 99 | +- A system passcode screen will appear. |
| 100 | +- Since passcode entry is sensitive, the keypad or the screen may not be streamed and could appear as black in your session view. |
| 101 | +- Use your **system keyboard** to type the passcode (**123456**) and press **Enter**. |
| 102 | + |
| 103 | +**Step 5:** Continue your app testing once the **passcode** is validated. |
| 104 | + |
| 105 | + |
| 106 | +:::note |
| 107 | +- Passcode input is **not visible** in the stream for security reasons. |
| 108 | +- You may experience a blacked-out screen briefly during passcode entry. |
| 109 | +::: |
| 110 | +--- |
0 commit comments