集成 fire base

hmxc
张萌 4 years ago
parent 8b6a407d95
commit bf87406683

@ -22,6 +22,7 @@ if (flutterVersionName == null) {
}
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
@ -82,4 +83,6 @@ flutter {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation platform('com.google.firebase:firebase-bom:27.0.0')
implementation 'com.google.firebase:firebase-analytics'
}

@ -0,0 +1,39 @@
{
"project_info": {
"project_number": "749352579370",
"project_id": "aku-community-manage",
"storage_bucket": "aku-community-manage.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:749352579370:android:e6f76e5f1c56841db32e53",
"android_client_info": {
"package_name": "com.akucommunity.aku_community_manager"
}
},
"oauth_client": [
{
"client_id": "749352579370-ag1vqd24nsrdj0oogldg6rqiq2mcpre7.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyCQrr7LDVBo-fGFijTrQT9vp5oYi9UucXA"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "749352579370-ag1vqd24nsrdj0oogldg6rqiq2mcpre7.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}

@ -8,6 +8,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.5'
}
}

@ -41,7 +41,7 @@ dependencies:
expandable: ^5.0.1
url_launcher: ^5.7.10
url_launcher: ^6.0.3
amap_map_fluttify: ^0.29.0
@ -50,7 +50,9 @@ dependencies:
velocity_x: ^2.6.0
dotted_border: ^2.0.0-nullsafety.0
dio: ^4.0.0
#谷歌崩溃分析
firebase_core: ^1.0.3
firebase_crashlytics: ^2.0.0
power_logger: ^1.0.1-nullsafety.1
logger: ^1.0.0
aku_ui:

Loading…
Cancel
Save