Unlocking the device with UnlockType and UnlockKey is erasing my fingerprints and face recognitions stored in device

Hi All,

I am trying to unlock my device by providing unlockType and unlockKey in the capabilities.

{
“platfornName”: Android,
“automatorName”: UiAutomator2,
“unlockType”: pin,
“unlockKey”: 1234
}

It is unlocking my device successfully, But it is also erasing my fingerprints and face recognitions stored in the device

Can anyone provide a solution for it.

You may try to use a different unlock strategy as a possible workaround

I tried with uiautomator unlock strategy as you mentioned, but it can’t even unlock my device.

But if I use locksetting strategy, it is erasing my fingerprints and face recognitions.