aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorpacien2020-09-09 20:06:52 +0200
committerpacien2020-09-10 01:16:49 +0200
commit2ca13684d9ae0a8f515a68d135d5b160a36f0bff (patch)
treee18a032037a1c3dd71913ec326053131214a5611 /app
parent8d495467457b4ab648ef12d4682f8760041b4727 (diff)
downloadtincapp-2ca13684d9ae0a8f515a68d135d5b160a36f0bff.tar.gz
app: set target api to 29 (Android 10)
The following works from API 21 to 29 (included): * creating a new network configuration * private key encryption and decryption * communication between apps and the tinc daemon * communication between tinc daemon and the internet The app seems to have issues with the new storage restriction on API 30 (Android 11). GitHub: closes #97
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle4
-rw-r--r--app/src/main/AndroidManifest.xml1
2 files changed, 3 insertions, 2 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 4efe3d5..fa3d8c0 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -30,12 +30,12 @@ def keystoreProperties = new Properties()
30if (keystoreAvailable) keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) 30if (keystoreAvailable) keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
31 31
32android { 32android {
33 compileSdkVersion 29 33 compileSdkVersion 30
34 34
35 defaultConfig { 35 defaultConfig {
36 applicationId 'org.pacien.tincapp' 36 applicationId 'org.pacien.tincapp'
37 minSdkVersion 21 37 minSdkVersion 21
38 targetSdkVersion 28 // FIXME: API29 breaks daemon start on Android 5 38 targetSdkVersion 29
39 multiDexEnabled true 39 multiDexEnabled true
40 versionCode 30 40 versionCode 30
41 versionName '0.30' 41 versionName '0.30'
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index c86ec8f..bf5c540 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -32,6 +32,7 @@
32 android:allowBackup="false" 32 android:allowBackup="false"
33 android:icon="@mipmap/ic_launcher" 33 android:icon="@mipmap/ic_launcher"
34 android:label="@string/app_name" 34 android:label="@string/app_name"
35 android:requestLegacyExternalStorage="true"
35 android:supportsRtl="true" 36 android:supportsRtl="true"
36 android:theme="@style/AppTheme" 37 android:theme="@style/AppTheme"
37 tools:ignore="GoogleAppIndexingWarning"> 38 tools:ignore="GoogleAppIndexingWarning">