mirror of
https://github.com/ProtonMail/android-mail.git
synced 2026-05-15 09:50:40 +00:00
Add dummy google-services.json file
This commit is contained in:
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"project_info": {
|
||||
"project_number": "111111111111",
|
||||
"firebase_url": "",
|
||||
"project_id": "",
|
||||
"storage_bucket": ""
|
||||
},
|
||||
"client": [
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:111111111111:android:1111111111111111",
|
||||
"android_client_info": {
|
||||
"package_name": "ch.protonmail.android"
|
||||
}
|
||||
},
|
||||
"oauth_client": [
|
||||
{
|
||||
"client_id": "",
|
||||
"client_type": 3
|
||||
}
|
||||
],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "DummyApiKey"
|
||||
},
|
||||
{
|
||||
"current_key": "DummyApiKey"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": [
|
||||
{
|
||||
"client_id": "",
|
||||
"client_type": 3
|
||||
},
|
||||
{
|
||||
"client_id": "",
|
||||
"client_type": 2,
|
||||
"ios_info": {
|
||||
"bundle_id": "ch.protonmail.protonmail"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "2:111111111111:android:1111111111111111",
|
||||
"android_client_info": {
|
||||
"package_name": "ch.protonmail.android.alpha"
|
||||
}
|
||||
},
|
||||
"oauth_client": [
|
||||
{
|
||||
"client_id": "",
|
||||
"client_type": 3
|
||||
}
|
||||
],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "DummyApiKey"
|
||||
},
|
||||
{
|
||||
"current_key": "DummyApiKey"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": [
|
||||
{
|
||||
"client_id": "",
|
||||
"client_type": 3
|
||||
},
|
||||
{
|
||||
"client_id": "",
|
||||
"client_type": 2,
|
||||
"ios_info": {
|
||||
"bundle_id": "ch.protonmail.protonmail"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "3:111111111111:android:1111111111111111",
|
||||
"android_client_info": {
|
||||
"package_name": "ch.protonmail.android.beta"
|
||||
}
|
||||
},
|
||||
"oauth_client": [
|
||||
{
|
||||
"client_id": "",
|
||||
"client_type": 3
|
||||
}
|
||||
],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "DummyApiKey"
|
||||
},
|
||||
{
|
||||
"current_key": "DummyApiKey"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": [
|
||||
{
|
||||
"client_id": "",
|
||||
"client_type": 3
|
||||
},
|
||||
{
|
||||
"client_id": "",
|
||||
"client_type": 2,
|
||||
"ios_info": {
|
||||
"bundle_id": "ch.protonmail.protonmail"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "4:111111111111:android:1111111111111111",
|
||||
"android_client_info": {
|
||||
"package_name": "ch.protonmail.android.dev"
|
||||
}
|
||||
},
|
||||
"oauth_client": [
|
||||
{
|
||||
"client_id": "",
|
||||
"client_type": 3
|
||||
}
|
||||
],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "DummyApiKey"
|
||||
},
|
||||
{
|
||||
"current_key": "DummyApiKey"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": [
|
||||
{
|
||||
"client_id": "",
|
||||
"client_type": 3
|
||||
},
|
||||
{
|
||||
"client_id": "",
|
||||
"client_type": 2,
|
||||
"ios_info": {
|
||||
"bundle_id": "ch.protonmail.protonmail"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"configuration_version": "1"
|
||||
}
|
||||
@@ -62,6 +62,16 @@
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
copyDummyGoogleSevicesFiles() {
|
||||
if [ ! -f app/google-services.json ]
|
||||
then
|
||||
echo "Copying dummy google-services.json file"
|
||||
cp "config/google-services/dummy-google-services.json" "app/google-services.json"
|
||||
fi
|
||||
}
|
||||
|
||||
copyDummyGoogleSevicesFiles
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
|
||||
# Resolve links: $0 may be a link
|
||||
|
||||
Reference in New Issue
Block a user