File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
src/main/java/org/gdgsrilanka/codelanka/eznet Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : " com.android.application"
2
+ apply plugin : " com.google.firebase.firebase-perf"
3
+
2
4
3
5
import com.android.build.OutputFile
4
6
@@ -136,6 +138,8 @@ dependencies {
136
138
transitive = false
137
139
}
138
140
compile " com.google.firebase:firebase-core:11.0.0"
141
+ compile " com.google.firebase:firebase-analytics:11.0.0"
142
+ compile " com.google.firebase:firebase-perf:11.0.0"
139
143
140
144
// If you are receiving Google Play API availability issues, add the following dependency
141
145
// compile "com.google.android.gms:play-services-base:11.0.0"
Original file line number Diff line number Diff line change 14
14
import java .util .List ;
15
15
16
16
import io .invertase .firebase .RNFirebasePackage ;
17
+ import io .invertase .firebase .analytics .RNFirebaseAnalyticsPackage ;
18
+ import io .invertase .firebase .crash .RNFirebaseCrashPackage ;
19
+ import io .invertase .firebase .perf .RNFirebasePerformancePackage ;
17
20
18
21
public class MainApplication extends Application implements ReactApplication {
19
22
@@ -28,6 +31,9 @@ protected List<ReactPackage> getPackages() {
28
31
return Arrays .<ReactPackage >asList (
29
32
new MainReactPackage (),
30
33
new RNFirebasePackage (),
34
+ new RNFirebaseAnalyticsPackage (),
35
+ new RNFirebaseCrashPackage (),
36
+ new RNFirebasePerformancePackage (),
31
37
new VectorIconsPackage ()
32
38
);
33
39
}
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ buildscript {
8
8
classpath ' com.android.tools.build:gradle:2.2.3'
9
9
classpath ' com.google.gms:google-services:3.0.0'
10
10
11
+ classpath ' com.google.firebase:firebase-plugins:1.1.0'
12
+
11
13
// NOTE: Do not place your application dependencies here; they belong
12
14
// in the individual module build.gradle files
13
15
}
You can’t perform that action at this time.
0 commit comments