Skip to content

Commit ecea65d

Browse files
committed
- Integrated Firebase Crashlytics.
- Changed version from 2.0 to 2.1.
1 parent 9da5d0c commit ecea65d

File tree

3 files changed

+59
-2
lines changed

3 files changed

+59
-2
lines changed

app/build.gradle

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
apply plugin: 'com.android.application'
22
apply plugin: 'com.google.protobuf'
3+
apply plugin: 'io.fabric'
34

45
android {
56
signingConfigs {
@@ -16,8 +17,8 @@ android {
1617
applicationId "com.espressif.provbleavs"
1718
minSdkVersion 21
1819
targetSdkVersion 28
19-
versionCode 12
20-
versionName "2.0"
20+
versionCode 13
21+
versionName "2.1"
2122
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2223
signingConfig signingConfigs.config
2324
}
@@ -103,4 +104,12 @@ dependencies {
103104
implementation 'com.google.crypto.tink:tink-android:1.1.0'
104105
implementation 'com.github.custanator:upnpdiscovery:1.0.1'
105106
implementation 'com.github.f0ris.sweetalert:library:1.5.1'
107+
108+
// (Recommended) Add the Google Analytics dependency.
109+
implementation 'com.google.firebase:firebase-analytics:17.2.2'
110+
111+
// Add the Firebase Crashlytics dependency.
112+
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
106113
}
114+
115+
apply plugin: 'com.google.gms.google-services'

app/google-services.json

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"project_info": {
3+
"project_number": "253563662563",
4+
"firebase_url": "https://esp-alexa.firebaseio.com",
5+
"project_id": "esp-alexa",
6+
"storage_bucket": "esp-alexa.appspot.com"
7+
},
8+
"client": [
9+
{
10+
"client_info": {
11+
"mobilesdk_app_id": "1:253563662563:android:b2f036c9dabbe2f5cd55d6",
12+
"android_client_info": {
13+
"package_name": "com.espressif.provbleavs"
14+
}
15+
},
16+
"oauth_client": [
17+
{
18+
"client_id": "253563662563-02jclpohuqv7u95upghldhhgmhu7r4l6.apps.googleusercontent.com",
19+
"client_type": 3
20+
}
21+
],
22+
"api_key": [
23+
{
24+
"current_key": "AIzaSyD9lh-CLTqd318ds_Tw9q3w_eTteU3l-08"
25+
}
26+
],
27+
"services": {
28+
"appinvite_service": {
29+
"other_platform_oauth_client": [
30+
{
31+
"client_id": "253563662563-02jclpohuqv7u95upghldhhgmhu7r4l6.apps.googleusercontent.com",
32+
"client_type": 3
33+
}
34+
]
35+
}
36+
}
37+
}
38+
],
39+
"configuration_version": "1"
40+
}

build.gradle

+8
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,19 @@ buildscript {
55
repositories {
66
google()
77
jcenter()
8+
maven {
9+
url 'https://maven.fabric.io/public'
10+
}
811
}
912
dependencies {
1013
classpath 'com.android.tools.build:gradle:3.3.2'
1114
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.6'
1215

16+
// Add the Google Services plugin (check for v3.1.2 or higher).
17+
classpath 'com.google.gms:google-services:4.3.3'
18+
19+
// Add the Fabric Crashlytics plugin.
20+
classpath 'io.fabric.tools:gradle:1.31.2'
1321
// NOTE: Do not place your application dependencies here; they belong
1422
// in the individual module build.gradle files
1523
}

0 commit comments

Comments
 (0)