File tree Expand file tree Collapse file tree 3 files changed +43
-1
lines changed
Expand file tree Collapse file tree 3 files changed +43
-1
lines changed Original file line number Diff line number Diff line change @@ -262,6 +262,7 @@ dependencies {
262262 implementation " com.facebook.react:react-native:+" // From node_modules
263263
264264 implementation " androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
265+ implementation ' com.google.firebase:firebase-analytics:17.2.2'
265266
266267 debugImplementation(" com.facebook.flipper:flipper:${ FLIPPER_VERSION} " ) {
267268 exclude group :' com.facebook.fbjni'
@@ -309,7 +310,8 @@ task copyDownloadableDepsToLibs(type: Copy) {
309310 into ' libs'
310311}
311312
312- apply from : file(" ../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle" ); applyNativeModulesAppBuildGradle(project)
313+ apply from : file(" ../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle" )
314+ apply plugin : ' com.google.gms.google-services' ; applyNativeModulesAppBuildGradle(project)
313315
314316def isNewArchitectureEnabled () {
315317 // To opt-in for the New Architecture, you can either:
Original file line number Diff line number Diff line change 1+ {
2+ "project_info" : {
3+ "project_number" : " 24083507219" ,
4+ "project_id" : " myfirstapp-72f08" ,
5+ "storage_bucket" : " myfirstapp-72f08.appspot.com"
6+ },
7+ "client" : [
8+ {
9+ "client_info" : {
10+ "mobilesdk_app_id" : " 1:24083507219:android:54485f5451ed18edcef7e6" ,
11+ "android_client_info" : {
12+ "package_name" : " com.myfirstapp"
13+ }
14+ },
15+ "oauth_client" : [
16+ {
17+ "client_id" : " 24083507219-s9ca2acl239njqoa548gu3pdp2ip2mad.apps.googleusercontent.com" ,
18+ "client_type" : 3
19+ }
20+ ],
21+ "api_key" : [
22+ {
23+ "current_key" : " AIzaSyAaK1dLoP61SxzxIjUlLCtIXaVDBHwJnhY"
24+ }
25+ ],
26+ "services" : {
27+ "appinvite_service" : {
28+ "other_platform_oauth_client" : [
29+ {
30+ "client_id" : " 24083507219-s9ca2acl239njqoa548gu3pdp2ip2mad.apps.googleusercontent.com" ,
31+ "client_type" : 3
32+ }
33+ ]
34+ }
35+ }
36+ }
37+ ],
38+ "configuration_version" : " 1"
39+ }
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ buildscript {
2525 classpath(" com.android.tools.build:gradle:7.1.1" )
2626 classpath(" com.facebook.react:react-native-gradle-plugin" )
2727 classpath(" de.undercouch:gradle-download-task:5.0.1" )
28+ classpath ' com.google.gms:google-services:4.3.3'
2829 // NOTE: Do not place your application dependencies here; they belong
2930 // in the individual module build.gradle files
3031 }
You can’t perform that action at this time.
0 commit comments