Skip to content

Commit e7499ee

Browse files
Nits
1 parent f545430 commit e7499ee

File tree

3 files changed

+43
-8
lines changed

3 files changed

+43
-8
lines changed

appcheck/app/build.gradle

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
plugins {
2-
id 'com.android.application'
3-
}
1+
apply plugin: 'com.android.application'
42
apply plugin: 'kotlin-android'
3+
apply plugin: 'com.google.gms.google-services' // Google Services plugin
54

65
android {
76
compileSdkVersion 30
@@ -29,7 +28,6 @@ android {
2928
}
3029

3130
dependencies {
32-
3331
implementation 'androidx.appcompat:appcompat:1.3.1'
3432
implementation 'com.google.android.material:material:1.4.0'
3533
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
@@ -42,7 +40,4 @@ dependencies {
4240

4341
implementation "androidx.core:core-ktx:1.6.0"
4442
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
45-
}
46-
repositories {
47-
mavenCentral()
4843
}

appcheck/app/google-services.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"project_info": {
3+
"project_number": "948708767782",
4+
"project_id": "app-check-snippets",
5+
"storage_bucket": "app-check-snippets.appspot.com"
6+
},
7+
"client": [
8+
{
9+
"client_info": {
10+
"mobilesdk_app_id": "1:948708767782:android:2e694ab930ef4c3b4c4ee7",
11+
"android_client_info": {
12+
"package_name": "com.google.firebase.example.appcheck"
13+
}
14+
},
15+
"oauth_client": [
16+
{
17+
"client_id": "948708767782-2e42ddfu4rcsbe5nv9qat94q6v9c12bf.apps.googleusercontent.com",
18+
"client_type": 3
19+
}
20+
],
21+
"api_key": [
22+
{
23+
"current_key": "AIzaSyABXlodP5O5vv9d0nObDcgNHSmWpcA5wLc"
24+
}
25+
],
26+
"services": {
27+
"appinvite_service": {
28+
"other_platform_oauth_client": [
29+
{
30+
"client_id": "948708767782-2e42ddfu4rcsbe5nv9qat94q6v9c12bf.apps.googleusercontent.com",
31+
"client_type": 3
32+
}
33+
]
34+
}
35+
}
36+
}
37+
],
38+
"configuration_version": "1"
39+
}

appcheck/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
buildscript {
3-
ext.kotlin_version = '1.5.30-M1'
3+
ext.kotlin_version = '1.5.21'
44
repositories {
55
google()
66
mavenCentral()
77
}
88
dependencies {
99
classpath "com.android.tools.build:gradle:4.2.2"
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11+
classpath 'com.google.gms:google-services:4.3.8'
1112

1213
// NOTE: Do not place your application dependencies here; they belong
1314
// in the individual module build.gradle files

0 commit comments

Comments
 (0)