Skip to content

Commit

Permalink
set flag to explicitly allow unencrypted HTTP traffic (on Android 9+)
Browse files Browse the repository at this point in the history
  • Loading branch information
warren-bank committed Jun 4, 2021
1 parent 9df2f92 commit b85bf5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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">

<activity
Expand Down
4 changes: 2 additions & 2 deletions android-studio-project/constants.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project.ext {
releaseVersionCode = Integer.parseInt("002000116", 10) //Integer.MAX_VALUE == 2147483647
releaseVersion = '002.00.01-16API'
releaseVersionCode = Integer.parseInt("002000216", 10) //Integer.MAX_VALUE == 2147483647
releaseVersion = '002.00.02-16API'
javaVersion = JavaVersion.VERSION_1_8
minSdkVersion = 16
targetSdkVersion = 28
Expand Down

0 comments on commit b85bf5d

Please sign in to comment.