0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00

Allow HTTP connections even in API28 w/default change

API28 changed the default network policy and unless you rework
your appś networking code you have to compensate with a manifest entry
(or a full network security XML file):

https://developer.android.com/training/articles/security-config#CleartextTrafficPermitted
https://developer.android.com/guide/topics/manifest/application-element#usesCleartextTraffic

This would have affected anyone using our embedded WebView to HTTP
sites as well, as WebView honors this flag
This commit is contained in:
Mike Hardy 2018-10-02 21:18:50 -05:00
parent d0076bc877
commit a6dde67b2d

View File

@ -83,6 +83,7 @@
android:roundIcon="@mipmap/anki_round"
android:label="@string/app_name"
android:windowSoftInputMode="adjustResize"
android:usesCleartextTraffic="true"
android:largeHeap="true">
<activity
android:name="com.ichi2.anki.IntentHandler"