mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-23 20:07:55 +00:00
firebase prod setup and flavors enhancement.
This commit is contained in:
@@ -54,7 +54,11 @@ android {
|
||||
productFlavors {
|
||||
dev {
|
||||
dimension "env"
|
||||
applicationId "com.syncrow.mobile"
|
||||
applicationId "com.syncrow.mobile.dev"
|
||||
}
|
||||
staging {
|
||||
dimension "env"
|
||||
applicationId "com.syncrow.mobile.staging"
|
||||
}
|
||||
prod {
|
||||
dimension "env"
|
||||
|
||||
@@ -1,48 +1,30 @@
|
||||
{
|
||||
"project_info": {
|
||||
"project_number": "427332280600",
|
||||
"project_id": "test2-8a3d2",
|
||||
"storage_bucket": "test2-8a3d2.appspot.com"
|
||||
},
|
||||
"client": [
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:427332280600:android:550f67441246cb1a0c7e6d",
|
||||
"android_client_info": {
|
||||
"package_name": "com.example.syncrow"
|
||||
}
|
||||
},
|
||||
"oauth_client": [],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyA5qOErxdm0zJmoHIB0TixfebYEsNRpwV0"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": []
|
||||
}
|
||||
"project_info": {
|
||||
"project_number": "255001682464",
|
||||
"firebase_url": "https://syncrow-prod-79446-default-rtdb.firebaseio.com",
|
||||
"project_id": "syncrow-prod-79446",
|
||||
"storage_bucket": "syncrow-prod-79446.firebasestorage.app"
|
||||
},
|
||||
"client": [
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:255001682464:android:40e1d92346106850561245",
|
||||
"android_client_info": {
|
||||
"package_name": "com.syncrow.mobile.dev"
|
||||
}
|
||||
},
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:427332280600:android:bb6047adeeb80fb00c7e6d",
|
||||
"android_client_info": {
|
||||
"package_name": "com.syncrow.mobile"
|
||||
}
|
||||
},
|
||||
"oauth_client": [],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyA5qOErxdm0zJmoHIB0TixfebYEsNRpwV0"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": []
|
||||
}
|
||||
"oauth_client": [],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyARJ5Wx2Uf8sbmb-AHB8WVfFwEFzrCIOKY"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"configuration_version": "1"
|
||||
}
|
||||
}
|
||||
],
|
||||
"configuration_version": "1"
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:allowBackup="false">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:name="com.example.syncrow_app.MainActivity"
|
||||
android:exported="true"
|
||||
android:launchMode="singleTop"
|
||||
android:theme="@style/LaunchTheme"
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"project_info": {
|
||||
"project_number": "786692570726",
|
||||
"firebase_url": "https://syncrow-staging-default-rtdb.firebaseio.com",
|
||||
"project_id": "syncrow-staging",
|
||||
"storage_bucket": "syncrow-staging.appspot.com"
|
||||
"project_number": "255001682464",
|
||||
"firebase_url": "https://syncrow-prod-79446-default-rtdb.firebaseio.com",
|
||||
"project_id": "syncrow-prod-79446",
|
||||
"storage_bucket": "syncrow-prod-79446.firebasestorage.app"
|
||||
},
|
||||
"client": [
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:786692570726:android:0ef7079c2b978d4417b7a7",
|
||||
"mobilesdk_app_id": "1:255001682464:android:40e1d92346106850561245",
|
||||
"android_client_info": {
|
||||
"package_name": "com.syncrow.mobile"
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
"oauth_client": [],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyDP9GpYfLE8gHTj3kZ1hW8fx_FkJqOqSQk"
|
||||
"current_key": "AIzaSyARJ5Wx2Uf8sbmb-AHB8WVfFwEFzrCIOKY"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"project_info": {
|
||||
"project_number": "255001682464",
|
||||
"firebase_url": "https://syncrow-prod-79446-default-rtdb.firebaseio.com",
|
||||
"project_id": "syncrow-prod-79446",
|
||||
"storage_bucket": "syncrow-prod-79446.firebasestorage.app"
|
||||
},
|
||||
"client": [
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:255001682464:android:40e1d92346106850561245",
|
||||
"android_client_info": {
|
||||
"package_name": "com.syncrow.mobile.staging"
|
||||
}
|
||||
},
|
||||
"oauth_client": [],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyARJ5Wx2Uf8sbmb-AHB8WVfFwEFzrCIOKY"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": []
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"configuration_version": "1"
|
||||
}
|
||||
Reference in New Issue
Block a user