-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Bugfix/allow mixed content #1867
Conversation
@@ -4,5 +4,5 @@ | |||
|
|||
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> | |||
|
|||
<application android:usesCleartextTraffic="true" tools:targetApi="28" tools:ignore="GoogleAppIndexingWarning" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't appear we actually need this here since we're setting it in <network-security-config>
in react_native_config.xml
badc06d
to
41b4299
Compare
initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); | ||
RNBranchModule.getAutoInstance(this); | ||
if (BuildConfig.DEBUG) { | ||
WebView.setWebContentsDebuggingEnabled(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is needed to debug the WebView for android
closing for now |
Description
I noticed recently that we don't allow for mixed content in the browser:
This is contrary to how browsers typically handle mixed content, for example on desktop the image loads fine for me (with a warning) in Firefox:
the following changes allow for mixed content in our webview so we can load http assets when a site is https:
Leaving this as a Draft to facilitate a discussion (also because this includes #1864).
There could be reasons why we might not want to do this, but we should ideally function like other browsers do? thoughts?
Checklist
Issue
Resolves #???