From b85bf5d4399b677ed336369a2cc16509997d3a23 Mon Sep 17 00:00:00 2001 From: "Warren R. Bank" Date: Thu, 3 Jun 2021 18:34:38 -0700 Subject: [PATCH] set flag to explicitly allow unencrypted HTTP traffic (on Android 9+) references: =========== https://developer.android.com/about/versions/pie/android-9.0-changes-28#tls-enabled https://developer.android.com/guide/topics/manifest/application-element#usesCleartextTraffic --- .../RTSP-IPCam-Viewer/src/main/AndroidManifest.xml | 3 ++- android-studio-project/constants.gradle | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/android-studio-project/RTSP-IPCam-Viewer/src/main/AndroidManifest.xml b/android-studio-project/RTSP-IPCam-Viewer/src/main/AndroidManifest.xml index 86b889b..040f102 100644 --- a/android-studio-project/RTSP-IPCam-Viewer/src/main/AndroidManifest.xml +++ b/android-studio-project/RTSP-IPCam-Viewer/src/main/AndroidManifest.xml @@ -10,9 +10,10 @@ android:label="@string/app_name" android:theme="@style/AppTheme" android:icon="@mipmap/ic_launcher" - android:allowBackup="false" + android:usesCleartextTraffic="true" android:hardwareAccelerated="true" android:largeHeap="true" + android:allowBackup="false" android:supportsRtl="false">