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

Blank screen is seen while loading url in webview #332

Closed
sandeepmnit opened this issue Aug 28, 2020 · 3 comments
Closed

Blank screen is seen while loading url in webview #332

sandeepmnit opened this issue Aug 28, 2020 · 3 comments
Labels
waiting for customer This issue is waiting for a response from the issue or PR author

Comments

@sandeepmnit
Copy link

sandeepmnit commented Aug 28, 2020

Please do not report security vulnerabilities here. The Responsible Disclosure Program details the procedure for disclosing security issues.

Thank you in advance for helping us to improve this library! Please read through the template below and answer all relevant questions. Your additional work here is greatly appreciated and will help us respond as quickly as possible. For general support or usage questions, use the Auth0 Community or Auth0 Support. Finally, to avoid duplicates, please search existing Issues before submitting one here.

By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.

Description

Blank screen is seen while loading a url in webview

Reproduction

We are trying to open a privacy policy page in webview using Auth0 library but getting below error while loading the page. Webview is showing a Blank page.

I/chromium: [INFO:CONSOLE(99)] "creating new AuthService instance", source: https://domain-name/static/bundles/prod/main-7243e34fbb33559e0cc0.js (99)

I/chromium: [INFO:CONSOLE(76)] "TypeError: Cannot read property 'removeItem' of null", source: domain-name/static/bundles/prod/main-7243e34fbb33559e0cc0.js (76)

Environment

Auth0 version 1.25.0
All Android version

Solution :
Please enable Dom Storage setting in WebAuthActivity.java
final WebSettings settings = webView.getSettings();
settings.setDomStorageEnabled(true);

@lbalmaceda
Copy link
Contributor

@sandeepmnit 👋 please, review and complete the issue template.

@lbalmaceda lbalmaceda added the waiting for customer This issue is waiting for a response from the issue or PR author label Aug 28, 2020
@lbalmaceda
Copy link
Contributor

@sandeepmnit I see you mentioned the WebAuthActivity. The use of "webviews" is deprecated since 2016, the change was introduced with this PR #36. However, it's still not clear to me how you are using this library, can you add a comment explaining that, please?

@lbalmaceda
Copy link
Contributor

Closing due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for customer This issue is waiting for a response from the issue or PR author
Projects
None yet
Development

No branches or pull requests

2 participants