Explorar el Código

android: update native dependencies

j8
Saúl Ibarra Corretgé hace 5 años
padre
commit
15e47a9eb3

+ 3
- 4
android/app/build.gradle Ver fichero

69
 dependencies {
69
 dependencies {
70
     implementation fileTree(dir: 'libs', include: ['*.jar'])
70
     implementation fileTree(dir: 'libs', include: ['*.jar'])
71
     implementation 'androidx.legacy:legacy-support-v4:1.0.0'
71
     implementation 'androidx.legacy:legacy-support-v4:1.0.0'
72
-    implementation 'androidx.appcompat:appcompat:1.0.2'
72
+    implementation 'androidx.appcompat:appcompat:1.1.0'
73
+
74
+    debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.0-beta-5'
73
 
75
 
74
     if (!rootProject.ext.libreBuild) {
76
     if (!rootProject.ext.libreBuild) {
75
         implementation 'com.google.android.gms:play-services-auth:16.0.1'
77
         implementation 'com.google.android.gms:play-services-auth:16.0.1'
83
     }
85
     }
84
 
86
 
85
     implementation project(':sdk')
87
     implementation project(':sdk')
86
-
87
-    debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.1'
88
-    releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.1'
89
 }
88
 }
90
 
89
 
91
 gradle.projectsEvaluated {
90
 gradle.projectsEvaluated {

+ 0
- 1
android/app/src/main/AndroidManifest.xml Ver fichero

5
       android:allowBackup="true"
5
       android:allowBackup="true"
6
       android:icon="@mipmap/ic_launcher"
6
       android:icon="@mipmap/ic_launcher"
7
       android:label="@string/app_name"
7
       android:label="@string/app_name"
8
-      android:name=".MainApplication"
9
       android:networkSecurityConfig="@xml/network_security_config"
8
       android:networkSecurityConfig="@xml/network_security_config"
10
       android:theme="@style/AppTheme">
9
       android:theme="@style/AppTheme">
11
     <activity
10
     <activity

+ 0
- 36
android/app/src/main/java/org/jitsi/meet/MainApplication.java Ver fichero

1
-/*
2
- * Copyright @ 2018-present Atlassian Pty Ltd
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- *     http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
-package org.jitsi.meet;
18
-
19
-import android.app.Application;
20
-
21
-import com.squareup.leakcanary.LeakCanary;
22
-
23
-/**
24
- * Simple {@link Application} for hooking up LeakCanary:
25
- * https://github.com/square/leakcanary
26
- */
27
-public class MainApplication extends Application {
28
-    @Override
29
-    public void onCreate() {
30
-        super.onCreate();
31
-
32
-        if (!LeakCanary.isInAnalyzerProcess(this)) {
33
-            LeakCanary.install(this);
34
-        }
35
-    }
36
-}

+ 2
- 2
android/build.gradle Ver fichero

13
     }
13
     }
14
     dependencies {
14
     dependencies {
15
         classpath 'com.android.tools.build:gradle:3.3.2'
15
         classpath 'com.android.tools.build:gradle:3.3.2'
16
-        classpath 'com.google.gms:google-services:4.2.0'
17
-        classpath 'io.fabric.tools:gradle:1.27.0'
16
+        classpath 'com.google.gms:google-services:4.3.3'
17
+        classpath 'io.fabric.tools:gradle:1.28.1'
18
 
18
 
19
         // NOTE: Do not place your application dependencies here; they belong
19
         // NOTE: Do not place your application dependencies here; they belong
20
         // in the individual module build.gradle files.
20
         // in the individual module build.gradle files.

+ 4
- 2
android/sdk/build.gradle Ver fichero

37
     implementation fileTree(dir: 'libs', include: ['*.jar'])
37
     implementation fileTree(dir: 'libs', include: ['*.jar'])
38
 
38
 
39
     implementation 'androidx.legacy:legacy-support-v4:1.0.0'
39
     implementation 'androidx.legacy:legacy-support-v4:1.0.0'
40
-    implementation 'androidx.appcompat:appcompat:1.0.2'
41
-    implementation 'androidx.fragment:fragment:1.0.0'
40
+    implementation 'androidx.appcompat:appcompat:1.1.0'
41
+    implementation 'androidx.fragment:fragment:1.1.0'
42
 
42
 
43
+    //noinspection GradleDynamicVersion
43
     api 'com.facebook.react:react-native:+'
44
     api 'com.facebook.react:react-native:+'
45
+    //noinspection GradleDynamicVersion
44
     implementation 'org.webkit:android-jsc:+'
46
     implementation 'org.webkit:android-jsc:+'
45
 
47
 
46
     implementation 'com.dropbox.core:dropbox-core-sdk:3.0.8'
48
     implementation 'com.dropbox.core:dropbox-core-sdk:3.0.8'

Loading…
Cancelar
Guardar