You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a webview inside my app and it works well, both in ios and android, when I am using secure urls (https).
But one of the backend enviroments uses unsecure http protocol and it doesn't work on Android. I've already set android:usesCleartextTraffic="true" on main/AndroidManifest.xml and the website indeed opens, but it doesn't load correctly because it mix secure and unsecure requests inside it.
I've tried to add the prop mixedContentMode={'always'} but it didn't affected the behavior I am trying to avoid.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a webview inside my app and it works well, both in ios and android, when I am using secure urls (https).
But one of the backend enviroments uses unsecure http protocol and it doesn't work on Android. I've already set
android:usesCleartextTraffic="true"
on main/AndroidManifest.xml and the website indeed opens, but it doesn't load correctly because it mix secure and unsecure requests inside it.I've tried to add the prop
mixedContentMode={'always'}
but it didn't affected the behavior I am trying to avoid.How can I fix it?
Beta Was this translation helpful? Give feedback.
All reactions