From 2e8b7bcc2f7d44c23fdd7002961c92bb3fe9254f Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Wed, 4 Nov 2020 13:10:23 +0100 Subject: include specific localboradcastmanager instead of v4 support lib --- android/sdremote/mobile/build.gradle | 5 +++-- android/sdremote/wear/build.gradle | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/android/sdremote/mobile/build.gradle b/android/sdremote/mobile/build.gradle index 3a7c232..220154f 100644 --- a/android/sdremote/mobile/build.gradle +++ b/android/sdremote/mobile/build.gradle @@ -19,8 +19,9 @@ android { dependencies { implementation 'androidx.preference:preference:1.1.1' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' + implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0' implementation 'com.google.android.material:material:1.2.1' - fullImplementation 'com.google.android.gms:play-services-wearable:17.0.0' + //noinspection GradleDependency + fullImplementation 'com.google.android.gms:play-services-wearable:6.5.87' fullWearApp project(':wear') } diff --git a/android/sdremote/wear/build.gradle b/android/sdremote/wear/build.gradle index aa0982c..bfe6a08 100644 --- a/android/sdremote/wear/build.gradle +++ b/android/sdremote/wear/build.gradle @@ -7,8 +7,10 @@ android { } dependencies { - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - implementation 'com.google.android.gms:play-services-wearable:17.0.0' + implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0' + // KitKat (20) wear-emulator doesn't have anything newer + //noinspection GradleDependency + implementation 'com.google.android.gms:play-services-wearable:6.5.87' implementation 'com.google.android.support:wearable:2.8.1' compileOnly 'com.google.android.wearable:wearable:2.8.1' } -- cgit v1.2.3