Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Locking WebView Orientation to Portrait #934

Open
5 tasks done
deepaaravind-myob opened this issue Jul 25, 2024 · 0 comments
Open
5 tasks done

Support for Locking WebView Orientation to Portrait #934

deepaaravind-myob opened this issue Jul 25, 2024 · 0 comments
Labels
feature request A feature has been asked for or suggested by the community

Comments

@deepaaravind-myob
Copy link

Checklist

  • I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

In our React Native application, we use the Auth0 SDK to handle user authentication via WebAuth. However, we’ve encountered an issue where the WebView used for authentication rotates to landscape mode when the device orientation is changed. For our application, it is required to lock the orientation to portrait mode during the authentication process to ensure a consistent user experience.

Describe the ideal solution

  • Provide configuration options within the SDK to allow developers to specify the desired orientation (e.g., portrait, landscape, sensor) for WebAuth activities
  • Update the internal activities used by the Auth0 SDK for WebAuth to respect the orientation configuration settings provided by developers.

Alternatives and current workarounds

There is no workaround that we could implement for this scenario.

Additional context

No response

@deepaaravind-myob deepaaravind-myob added the feature request A feature has been asked for or suggested by the community label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature has been asked for or suggested by the community
Projects
None yet
Development

No branches or pull requests

1 participant