lupidan / apple-signin-unity

Unity plugin to support Sign In With Apple Id
MIT License
598 stars 85 forks source link

Keyboard does not show on Quick login when Face ID not setup on device #204

Open SniperED007 opened 4 months ago

SniperED007 commented 4 months ago

Issue: Keyboard does not show to enter password on QuickLogin when Face ID not setup on device (just has an empty space where the keyboard should be and it shows the Password field above it, tapping on the password field does not bring up the keyboard either.

It does however show with LoginWithAppleId

Version 1.4.3 Device: iPhone XR iOS: 17.5.1

vdayneko commented 4 months ago

Also recently found this problem. The problem exists when the application is in landscape orientation. It seems that the keyboard is shown, but out of screen bounds: if Auto Rotation (Project Settings / Player / iOS tab / Resolution and Presentation group) is enabled and both Portrait and Landscape are selected, and call Quick Login in landscape mode, then rotate device to switch to portrait, then keyboard returns to the right place.

Possible workaround: set orientation to portrait before Quck Login call (portrait mode don't need to be checked in Auto Rotation settings for this) and return back after getting result, but it will cause visual glitches. So maybe there is a better solution?

lupidan commented 4 months ago

Please provide a video and a Unity project that reproduces the issue.

CaptainJekson commented 4 months ago

Same problem. Provided video:

https://drive.google.com/file/d/16OtNU91kVHaDRkvH6Azczv7DF-iU1y1q/view?usp=sharing

vdayneko commented 4 months ago

The problem is reproduced on the native official sample as well (quick login is called automatically on app start). So it looks like Apple bug.