add firebase

This commit is contained in:
xj.deng
2019-04-29 18:36:24 +08:00
parent eeb0c41870
commit 922df69139
8 changed files with 28 additions and 35 deletions

View File

@ -45,7 +45,7 @@ android {
defaultConfig { defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.ali.paimai.fluttergo" applicationId "com.alibaba.fluttergo"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 27 targetSdkVersion 27
versionCode flutterVersionCode.toInteger() versionCode flutterVersionCode.toInteger()

View File

@ -1,42 +1,35 @@
{ {
"project_info": { "project_info": {
"project_number": "1002138254102", "project_number": "611157827052",
//"firebase_url": "https://ali-flutter-go.firebaseio.com", "firebase_url": "https://alibaba-flutter-go.firebaseio.com",
"project_id": "ali-flutter-go", "project_id": "alibaba-flutter-go",
"storage_bucket": "ali-flutter-go.appspot.com" "storage_bucket": "alibaba-flutter-go.appspot.com"
}, },
"client": [ "client": [
{ {
"client_info": { "client_info": {
"mobilesdk_app_id": "1:1002138254102:android:00e8533fa0274183", "mobilesdk_app_id": "1:611157827052:android:c6129e5eff2f125d",
"android_client_info": { "android_client_info": {
"package_name": "com.ali.paimai.fluttergo" "package_name": "com.alibaba.fluttergo"
} }
}, },
"oauth_client": [ "oauth_client": [
{ {
"client_id": "1002138254102-2r4hs0mm1avp4p1qielecihnbugan693.apps.googleusercontent.com", "client_id": "611157827052-iiuevj8qu56alpqh47v37j9sd4e40di7.apps.googleusercontent.com",
"client_type": 3 "client_type": 3
} }
], ],
"api_key": [ "api_key": [
{ {
"current_key": "AIzaSyDFdL3GSwVDfejIq44pyOpiEBZ32dTGMVA" "current_key": "AIzaSyA9chxDIuds7gmPQTJPpDpoXyN9rDTdvhU"
} }
], ],
"services": { "services": {
"appinvite_service": { "appinvite_service": {
"other_platform_oauth_client": [ "other_platform_oauth_client": [
{ {
"client_id": "1002138254102-2r4hs0mm1avp4p1qielecihnbugan693.apps.googleusercontent.com", "client_id": "611157827052-iiuevj8qu56alpqh47v37j9sd4e40di7.apps.googleusercontent.com",
"client_type": 3 "client_type": 3
},
{
"client_id": "1002138254102-qo9jp8c3lc69p9lclu0rtp5dmt1kulv7.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.ali.paimai.fluttergo"
}
} }
] ]
} }
@ -44,4 +37,4 @@
} }
], ],
"configuration_version": "1" "configuration_version": "1"
} }

View File

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ali.paimai.fluttergo"> package="com.alibaba.fluttergo">
<!-- Flutter needs it to communicate with the running application <!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc. to allow setting breakpoints, to provide hot reload, etc.
--> -->

View File

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ali.paimai.fluttergo"> package="com.alibaba.fluttergo">
<!-- io.flutter.app.FlutterApplication is an android.app.Application that <!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method. calls FlutterMain.startInitialization(this); in its onCreate method.

View File

@ -1,4 +1,4 @@
package com.ali.paimai.fluttergo package com.alibaba.fluttergo
import android.os.Bundle import android.os.Bundle

View File

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ali.paimai.fluttergo"> package="com.alibaba.fluttergo">
<!-- Flutter needs it to communicate with the running application <!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc. to allow setting breakpoints, to provide hot reload, etc.
--> -->

View File

@ -525,9 +525,9 @@
"$(inherited)", "$(inherited)",
"$(PROJECT_DIR)/Flutter", "$(PROJECT_DIR)/Flutter",
); );
PRODUCT_BUNDLE_IDENTIFIER = com.ali.paimai.fluttergo; PRODUCT_BUNDLE_IDENTIFIER = com.alibaba.fluttergo;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "FlutterGO-pm-develop"; PROVISIONING_PROFILE_SPECIFIER = "FlutterGO-alibaba-develop";
VERSIONING_SYSTEM = "apple-generic"; VERSIONING_SYSTEM = "apple-generic";
}; };
name = Debug; name = Debug;
@ -553,9 +553,9 @@
"$(inherited)", "$(inherited)",
"$(PROJECT_DIR)/Flutter", "$(PROJECT_DIR)/Flutter",
); );
PRODUCT_BUNDLE_IDENTIFIER = com.ali.paimai.fluttergo; PRODUCT_BUNDLE_IDENTIFIER = com.alibaba.fluttergo;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "FlutterGO-distribution_pm_ad_hoc"; PROVISIONING_PROFILE_SPECIFIER = FlutterGO_alibaba_distribution_ad_hoc;
VERSIONING_SYSTEM = "apple-generic"; VERSIONING_SYSTEM = "apple-generic";
}; };
name = Release; name = Release;

View File

@ -3,21 +3,21 @@
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>CLIENT_ID</key> <key>CLIENT_ID</key>
<string>1002138254102-qo9jp8c3lc69p9lclu0rtp5dmt1kulv7.apps.googleusercontent.com</string> <string>611157827052-0n777p43lrtr2dpo7gco5o3lffu7a7r4.apps.googleusercontent.com</string>
<key>REVERSED_CLIENT_ID</key> <key>REVERSED_CLIENT_ID</key>
<string>com.googleusercontent.apps.1002138254102-qo9jp8c3lc69p9lclu0rtp5dmt1kulv7</string> <string>com.googleusercontent.apps.611157827052-0n777p43lrtr2dpo7gco5o3lffu7a7r4</string>
<key>API_KEY</key> <key>API_KEY</key>
<string>AIzaSyD01jR14RevQibnzkg4tBUbFzc7UjKESFQ</string> <string>AIzaSyDztt5Q9D7plAc8VqNtHumAci6BaoOiTg4</string>
<key>GCM_SENDER_ID</key> <key>GCM_SENDER_ID</key>
<string>1002138254102</string> <string>611157827052</string>
<key>PLIST_VERSION</key> <key>PLIST_VERSION</key>
<string>1</string> <string>1</string>
<key>BUNDLE_ID</key> <key>BUNDLE_ID</key>
<string>com.ali.paimai.fluttergo</string> <string>com.alibaba.fluttergo</string>
<key>PROJECT_ID</key> <key>PROJECT_ID</key>
<string>ali-flutter-go</string> <string>alibaba-flutter-go</string>
<key>STORAGE_BUCKET</key> <key>STORAGE_BUCKET</key>
<string>ali-flutter-go.appspot.com</string> <string>alibaba-flutter-go.appspot.com</string>
<key>IS_ADS_ENABLED</key> <key>IS_ADS_ENABLED</key>
<false></false> <false></false>
<key>IS_ANALYTICS_ENABLED</key> <key>IS_ANALYTICS_ENABLED</key>
@ -29,8 +29,8 @@
<key>IS_SIGNIN_ENABLED</key> <key>IS_SIGNIN_ENABLED</key>
<true></true> <true></true>
<key>GOOGLE_APP_ID</key> <key>GOOGLE_APP_ID</key>
<string>1:1002138254102:ios:00e8533fa0274183</string> <string>1:611157827052:ios:c6129e5eff2f125d</string>
<key>DATABASE_URL</key> <key>DATABASE_URL</key>
<string>https://ali-flutter-go.firebaseio.com</string> <string>https://alibaba-flutter-go.firebaseio.com</string>
</dict> </dict>
</plist> </plist>