]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
wpadebug: Allow WebView to parse and load clear text (HTTP)
authorPurushottam Kushwaha <pkushwah@codeaurora.org>
Wed, 12 Jun 2019 12:15:37 +0000 (17:45 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 19 Jun 2019 21:33:43 +0000 (00:33 +0300)
Recent Android version doesn't allow cleartext parsing by WebView by
default:

Error message: ERR_CLEARTEXT_NOT_PERMITTED.

To resolve this wpadebug need to have following updated under
application definition of AndroidManifest.xml
 - android:usesCleartextTraffic="true"

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wpadebug/AndroidManifest.xml

index 3c8b9b9881597f59ae36852cf33109b9521f39d5..0d8dec396dd608a9d1b9125eeafb49c358412913 100644 (file)
@@ -9,7 +9,7 @@
     <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
     <uses-permission android:name="android.permission.INTERNET" />
        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
-    <application android:label="wpadebug">
+    <application android:label="wpadebug" android:usesCleartextTraffic="true">
         <activity android:name="w1.fi.wpadebug.MainActivity"
                   android:label="wpadebug">
             <intent-filter>