From c2d37f43591ecc94cf6b9aa542b8589f9cea960c Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 22 Aug 2022 11:17:30 +0200 Subject: [PATCH] use custom libwebrtc (m104) for playstore release --- build.gradle | 11 ++++++----- src/conversations/AndroidManifest.xml | 9 ++++----- src/playstore/AndroidManifest.xml | 24 ++++++++++++++---------- 3 files changed, 24 insertions(+), 20 deletions(-) diff --git a/build.gradle b/build.gradle index 7678d888b..06c5f0030 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,7 @@ configurations { dependencies { implementation 'androidx.viewpager:viewpager:1.0.0' - playstoreImplementation('com.google.firebase:firebase-messaging:23.0.6') { + playstoreImplementation('com.google.firebase:firebase-messaging:23.0.7') { exclude group: 'com.google.firebase', module: 'firebase-core' exclude group: 'com.google.firebase', module: 'firebase-analytics' exclude group: 'com.google.firebase', module: 'firebase-measurement-connector' @@ -42,14 +42,14 @@ dependencies { quicksyPlaystoreImplementation 'com.google.android.gms:play-services-auth-api-phone:18.0.1' implementation 'org.sufficientlysecure:openpgp-api:10.0' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' - implementation 'androidx.appcompat:appcompat:1.4.2' + implementation 'androidx.appcompat:appcompat:1.5.0' implementation 'androidx.exifinterface:exifinterface:1.3.3' implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' implementation 'com.google.android.material:material:1.4.0' - implementation "androidx.emoji2:emoji2:1.1.0" - freeImplementation "androidx.emoji2:emoji2-bundled:1.1.0" + implementation "androidx.emoji2:emoji2:1.2.0" + freeImplementation "androidx.emoji2:emoji2-bundled:1.2.0" implementation 'org.bouncycastle:bcmail-jdk15on:1.64' //zxing stopped supporting Java 7 so we have to stick with 3.3.3 @@ -75,7 +75,8 @@ dependencies { implementation 'com.google.guava:guava:30.1.1-android' quicksyImplementation 'io.michaelrocks:libphonenumber-android:8.12.49' - implementation 'ch.threema:webrtc-android:100.0.0' + freeImplementation 'ch.threema:webrtc-android:100.0.0' + playstoreImplementation fileTree(include: ['libwebrtc-m104.aar'], dir: 'libs') } ext { diff --git a/src/conversations/AndroidManifest.xml b/src/conversations/AndroidManifest.xml index d573b32d3..c79e4e265 100644 --- a/src/conversations/AndroidManifest.xml +++ b/src/conversations/AndroidManifest.xml @@ -1,8 +1,7 @@ - + - + + android:launchMode="singleTask"> diff --git a/src/playstore/AndroidManifest.xml b/src/playstore/AndroidManifest.xml index 6deb7d2a4..402d957f4 100644 --- a/src/playstore/AndroidManifest.xml +++ b/src/playstore/AndroidManifest.xml @@ -1,23 +1,27 @@ - + - + - - + + - + - + + android:exported="false">