FormidableLabs / react-native-app-auth

React native bridge for AppAuth - an SDK for communicating with OAuth2 providers

Home Page:https://commerce.nearform.com/open-source/react-native-app-auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot switch to Numeric keypad on part of the iPad devices(for example iPad Pro 5th Gen)

ysuobunnings opened this issue · comments

Issue

Description for the issue: some iPad device for example iPad Pro 5th Gen, the keypad is not working properly, it cannot switch to Numeric keypad when using react-native-app-auth for security login

The issue may not relate to the iOS version and only happened for some iPad devices. the issue can be constantly reproduced from iPad Pro 5th Gen real device or simulator.
In order to confirm it's not issue or misused in our App, I clone and replicate same issue using sample code in this repo too https://github.com/FormidableLabs/react-native-app-auth/tree/main/Example
here are the recordings for the issue
on a normal iPhone device all works fine:

Screen.Recording.2024-05-21.at.3.53.18.PM.mov

on iPad Pro 5th Gen, the keypad cannot switch to a Numeric keypad:

Screen.Recording.2024-05-21.at.3.55.16.PM.mov

Environment

  • Your Identity Provider: e.g. IdentityServer 4 / Okta / Azure
  • I use Authorize Auth0 button in the example App to trigger the issue
  • Platform that you're experiencing the issue on: iOS / Android / both
  • iOS on iPad only at the moment, iPhone looks all fine
  • Your react-native Version: e.g. 0.72.1
  • We tried in the following RN versions: 0.72.4, 0.73.6 and 0.74.1
  • Your react-native-app-auth Version: e.g. 7.0.0
  • we use 7.0.0, also tried 7.2.0, issue still exist
  • Are you using Expo?
  • no

Hi @ysuobunnings, thanks for the contribution. The issue you are seeing is from the auth0 web login. React Native App Auth does not provide any UI elements, it redirects you to your configured providers login. Please file an issue with the provider for any UX issues.

image

@carbonrobot Hello, the video I put there is the example code in this repo, just want to share with you the information that this happened to some type of device like iPad Pro, isn't your team the maintainer of your own sample code and sample auth website?

@ysuobunnings The samples.auth0.com website is owned by the company Auth0