-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
WebView with inline HTML not working #20464
Comments
To be clear, the changelog specifies this breaking changes applies to both iOS and Android. The commit you're pointing to is iOS only, but there are other commits in the 0.56 release that deal with Android. Would you mind sending a PR to add the workaround to the docs? Duplicate of #19986 |
That's my point. In my case, I'm perceiving the breaking change in iOS only. Android still shows local files without the workaround. My goal by opening a second issue to #19986 was to discuss the breaking change before sending a PR. It seems counterintuitive to add an |
Ah, it wasn't clear originally. Do you want to use the discussion repository we have set up for this? |
Sure. Which repository are we talking about? |
It's the one linked to under "Start a Discussion" when you open a new issue at https://github.com/facebook/react-native/issues/new/choose |
Thanks. |
Environment
Description
WebView not working any more as expected when used with inline HTML.
The regression was introduced in commit 634e7e1 by @mmmulani with the commit message:
This is not well documented in CHANGELOG which leads to unexpected breaking behavior. It is also not described as an iOS specific change.
What was the rationale behind the breaking change?
This issue is related to #19986.
Reproducible Demo
See #19986's Reproducible Demo.
Workaround
Adding originWhitelist wildcard as in #19986's comment.
The text was updated successfully, but these errors were encountered: