From 3b90adaf353363e900a3afad0a97ab6d8fe57c3b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 22 Sep 2019 17:34:05 -0700 Subject: Target Android 10 --- app/build.gradle | 17 ++++++++--------- app/src/google/AndroidManifest.xml | 3 ++- .../java/org/traccar/manager/GoogleMainApplication.java | 2 +- .../org/traccar/manager/ManagerMessagingService.java | 2 +- app/src/main/AndroidManifest.xml | 4 +++- app/src/main/java/org/traccar/manager/MainActivity.java | 2 +- app/src/main/java/org/traccar/manager/MainFragment.java | 5 ++--- .../main/java/org/traccar/manager/StartFragment.java | 2 ++ build.gradle | 4 ++-- gradle.properties | 2 ++ gradle/wrapper/gradle-wrapper.properties | 2 +- 11 files changed, 25 insertions(+), 20 deletions(-) create mode 100644 gradle.properties diff --git a/app/build.gradle b/app/build.gradle index a7090fd..5ef19dd 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,15 +1,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 28 - buildToolsVersion '28.0.2' + compileSdkVersion 29 defaultConfig { applicationId 'org.traccar.manager' minSdkVersion 19 - targetSdkVersion 28 - versionCode 18 - versionName '2.8' + targetSdkVersion 29 + versionCode 19 + versionName '2.9' } flavorDimensions 'default' @@ -20,10 +19,10 @@ android { } dependencies { - implementation 'com.android.support:design:28.0.0-rc02' - googleImplementation 'com.google.firebase:firebase-core:16.0.3' - googleImplementation 'com.google.firebase:firebase-messaging:17.3.2' - googleImplementation 'com.crashlytics.sdk.android:crashlytics:2.9.5' + implementation 'com.google.android.material:material:1.0.0' + googleImplementation 'com.google.firebase:firebase-core:17.2.0' + googleImplementation 'com.google.firebase:firebase-messaging:20.0.0' + googleImplementation 'com.crashlytics.sdk.android:crashlytics:2.10.1' } if (getGradle().getStartParameter().getTaskRequests().toString().contains('Google')) { diff --git a/app/src/google/AndroidManifest.xml b/app/src/google/AndroidManifest.xml index c0215a1..c9b855e 100644 --- a/app/src/google/AndroidManifest.xml +++ b/app/src/google/AndroidManifest.xml @@ -6,7 +6,8 @@ + tools:replace="android:name" + tools:ignore="GoogleAppIndexingWarning"> @@ -10,7 +11,8 @@ android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" - android:networkSecurityConfig="@xml/network_security_config"> + android:networkSecurityConfig="@xml/network_security_config" + tools:ignore="GoogleAppIndexingWarning">