Skip to content

Commit

Permalink
added Ganalytics
Browse files Browse the repository at this point in the history
  • Loading branch information
eswar2001 committed Mar 7, 2021
1 parent ff5dd9f commit 08c7d67
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
2 changes: 2 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ if (flutterVersionName == null) {

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'com.google.gms.google-services'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
Expand Down Expand Up @@ -55,5 +56,6 @@ flutter {
}

dependencies {
implementation 'com.google.firebase:firebase-analytics:17.4.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
39 changes: 39 additions & 0 deletions android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"project_info": {
"project_number": "115845221729",
"project_id": "competitive-programming-resour",
"storage_bucket": "competitive-programming-resour.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:115845221729:android:d0af295785300f5ca24920",
"android_client_info": {
"package_name": "com.example.cptime"
}
},
"oauth_client": [
{
"client_id": "115845221729-vv61l7mgcvqnt523h5n0ftvnrl42g4je.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyALfSavy4t0kSeQQjidS3QYwgpOd5letGM"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "115845221729-vv61l7mgcvqnt523h5n0ftvnrl42g4je.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}
1 change: 1 addition & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ buildscript {

dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath 'com.google.gms:google-services:4.3.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand Down

0 comments on commit 08c7d67

Please sign in to comment.