Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

android: update native dependencies

Saúl Ibarra Corretgé15e47a9eb3f0
diff --git a/android/app/build.gradle b/android/app/build.gradle
index ba104dca3c..1e7ca7ba6f 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -69,7 +69,9 @@ repositories {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- implementation 'androidx.appcompat:appcompat:1.0.2'
+ implementation 'androidx.appcompat:appcompat:1.1.0'
+
+ debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.0-beta-5'
if (!rootProject.ext.libreBuild) {
implementation 'com.google.android.gms:play-services-auth:16.0.1'
@@ -83,9 +85,6 @@ dependencies {
}
implementation project(':sdk')
-
- debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.1'
- releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.1'
}
gradle.projectsEvaluated {
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 891e1a9a70..e4411d8e9e 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -5,7 +5,6 @@
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
- android:name=".MainApplication"
android:networkSecurityConfig="@xml/network_security_config"
android:theme="@style/AppTheme">
<activity
diff --git a/android/app/src/main/java/org/jitsi/meet/MainApplication.java b/android/app/src/main/java/org/jitsi/meet/MainApplication.java
deleted file mode 100644
index 4d47d0b164..0000000000
--- a/android/app/src/main/java/org/jitsi/meet/MainApplication.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright @ 2018-present Atlassian Pty Ltd
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.jitsi.meet;
-
-import android.app.Application;
-
-import com.squareup.leakcanary.LeakCanary;
-
-/**
- * Simple {@link Application} for hooking up LeakCanary:
- * https://github.com/square/leakcanary
- */
-public class MainApplication extends Application {
- @Override
- public void onCreate() {
- super.onCreate();
-
- if (!LeakCanary.isInAnalyzerProcess(this)) {
- LeakCanary.install(this);
- }
- }
-}
diff --git a/android/build.gradle b/android/build.gradle
index cf11bf08d1..83e1cb2bbe 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -13,8 +13,8 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
- classpath 'com.google.gms:google-services:4.2.0'
- classpath 'io.fabric.tools:gradle:1.27.0'
+ classpath 'com.google.gms:google-services:4.3.3'
+ classpath 'io.fabric.tools:gradle:1.28.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files.
diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle
index 3263b10048..4de94a6111 100644
--- a/android/sdk/build.gradle
+++ b/android/sdk/build.gradle
@@ -37,10 +37,12 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- implementation 'androidx.appcompat:appcompat:1.0.2'
- implementation 'androidx.fragment:fragment:1.0.0'
+ implementation 'androidx.appcompat:appcompat:1.1.0'
+ implementation 'androidx.fragment:fragment:1.1.0'
+ //noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'
+ //noinspection GradleDynamicVersion
implementation 'org.webkit:android-jsc:+'
implementation 'com.dropbox.core:dropbox-core-sdk:3.0.8'