I see that we have setUnlockType
and setUnlockKey
method available in UiAutomator2Options
.
But these only serve to unlock the device.
What can I do in case the app requires e.g. pin/pattern/fingerprint authentication? Does Appium have a way to deal with that, or do I have to get creative with ADB shell, and dismiss those programmatically?
UIA2 driver only deals with the system lock screen. If your app implements a custom one then you need to interact with it on your own.