Check detecting 2FA code using `UIPasteboard` in iOS 16
selanthiraiyan opened this issue ยท 2 comments
There is a feature to detect 2FA code from the pasteboard and auto-populate it.
This feature uses UIPasteboard
, and there have been recent changes to it in iOS 16.0
We should check the behaviour of the code and fix that if needed.
- As a first step, we can make that feature available only below iOS 16 and above iOS 14
- Next, we could look into using https://developer.apple.com/documentation/uikit/uipastecontrol to implement the feature.
Hey @selanthiraiyan ๐ I came to the Issues page for this very same reason and was happy to see someone else noticed this ๐
I like how you took the pragmatic approach of skipping the failing test and opening an issue about this.
Without knowing about your work, I took a similar approach and marked the failure as expected ๐ค
Both approaches are legit. Let's see which one gets merged first.
Thanks for the ping, @mokagio
I didn't know about XCTExpectFailure
. Looks like it is better to expect failure instead of skipping these tests. TIL. ๐
Please feel free to override my changes with your PR if my changes get merged first.