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

fix(Android): Apply WebView settings before loading content - take 2 #2772

Conversation

TheAlmightyBob
Copy link
Collaborator

Same as #2766 but using react-native-blob-util instead of react-native-file-access, because I couldn't get the latter to build with macOS.

I'm not certain yet if this will work, mainly creating a PR to test it with the CI.

…guish the "require(...)" case from the "uri: 'file://...'" case

(saying "import" instead of "require" just because "require" is too vague a word...)
…WebView on Android, because otherwise we start loading the content before relevant WebView settings have been applied (for example, allowFileAccess, meaning that initial loading of local files would fail)

(this is not an Android-specific requirement, but "source" was already at the end for other platforms)
@TheAlmightyBob
Copy link
Collaborator Author

Since the CI passed, I've pushed this change to #2766 and am closing this PR in favor of that one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant