Skip to content

Commit 40ff0c1

Browse files
Revert "[[ Bug 22400 ]] Allow http connections on Android browser"
1 parent 189ffb5 commit 40ff0c1

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

engine/rsrc/android-manifest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ ${USES_PERMISSION}${USES_FEATURE}
2121
android:windowSoftInputMode="stateHidden"
2222
android:launchMode="singleTask"
2323
android:hardwareAccelerated="${HARDWARE_ACCELERATED}">
24-
${ALLOW_HTTP_CONNECTIONS}
2524
<intent-filter>
2625
<action android:name="android.intent.action.MAIN" />
2726
<category android:name="android.intent.category.LAUNCHER" />

ide-support/revsaveasandroidstandalone.livecodescript

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -599,18 +599,6 @@ private command revSaveAsMobileStandaloneMain pStack, pApkFile, pTarget, pSettin
599599
end if
600600
replace "${HARDWARE_ACCELERATED}" with tHardwareAccelerated in tManifest
601601

602-
// Allow http connections
603-
local tAllowHttpConnections, tHasInternetPermission
604-
if the keys of pSettings["android,application permissions"] contains "Internet" then
605-
put "true" into tHasInternetPermission
606-
end if
607-
if pSettings["android,allow http"] and tHasInternetPermission then
608-
put "android:usesCleartextTraffic=" & quote & "true" & quote into tAllowHttpConnections
609-
else
610-
put empty into tAllowHttpConnections
611-
end if
612-
replace "${ALLOW_HTTP_CONNECTIONS}" with tAllowHttpConnections in tManifest
613-
614602
put tManifest into url ("binfile:" & tManifestFile)
615603

616604
local tAdditional

0 commit comments

Comments
 (0)