tentative de firebase
This commit is contained in:
@@ -37,6 +37,16 @@ android {
|
||||
signingConfig = signingConfigs.getByName("debug")
|
||||
}
|
||||
}
|
||||
|
||||
// Adicione no FINAL do arquivo:
|
||||
apply plugin: 'com.google.gms.google-services'
|
||||
|
||||
dependencies {
|
||||
// Dependências do Firebase que você vai usar
|
||||
implementation 'com.google.firebase:firebase-analytics'
|
||||
// Adicione outras conforme necessário
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
flutter {
|
||||
|
||||
9
android/app/google-services.json
Normal file
9
android/app/google-services.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"project_info": {
|
||||
"project_number": "123456789012",
|
||||
"project_id": "playmaker-basketball",
|
||||
"storage_bucket": "playmaker-basketball.appspot.com"
|
||||
},
|
||||
"client": [],
|
||||
"configuration_version": "1"
|
||||
}
|
||||
@@ -22,3 +22,9 @@ subprojects {
|
||||
tasks.register<Delete>("clean") {
|
||||
delete(rootProject.layout.buildDirectory)
|
||||
}
|
||||
buildscript {
|
||||
dependencies {
|
||||
// Adicione esta linha:
|
||||
classpath 'com.google.gms:google-services:4.4.0'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user