Skip to content

Commit

Permalink
Different icon & package for debug builds.
Browse files Browse the repository at this point in the history
So we can have both build types on a device at once. Had to add a seperate
google-services config as this is dependant upon the package name.
  • Loading branch information
nickbutcher authored and florina-muntenescu committed Jul 10, 2018
1 parent 3927898 commit 79a28ce
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 3 deletions.
10 changes: 7 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,15 @@ android {

resConfig 'en'
buildConfigField 'String', 'GIT_SHA', "\"${gitSha}\""
manifestPlaceholders += [
crashlyticsEnabled: false
]
manifestPlaceholders += [
crashlyticsEnabled: false
]
}
buildTypes {
debug {
applicationIdSuffix '.debug'
versionNameSuffix '-DEBUG'
}
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'),
Expand Down
86 changes: 86 additions & 0 deletions app/src/debug/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"project_info": {
"project_number": "575982651947",
"firebase_url": "https://plaid-f6e0f.firebaseio.com",
"project_id": "plaid-f6e0f",
"storage_bucket": "plaid-f6e0f.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:575982651947:android:e41f681f54e65271",
"android_client_info": {
"package_name": "io.plaidapp"
}
},
"oauth_client": [
{
"client_id": "575982651947-g8ab25j87qfv4cjdc0l2avg41fngkcf8.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "io.plaidapp",
"certificate_hash": "efa9845bc1e2d2474ccd2c022f4df4dd5a33347b"
}
},
{
"client_id": "575982651947-rtsodjemkvdq3tqm7fcl4tevgekalapu.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyD3CVtxqUh-yKDr7HbTuY2g8mTkxHIplnQ"
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 2,
"other_platform_oauth_client": [
{
"client_id": "575982651947-rtsodjemkvdq3tqm7fcl4tevgekalapu.apps.googleusercontent.com",
"client_type": 3
}
]
},
"ads_service": {
"status": 2
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:575982651947:android:34e344858643ffda",
"android_client_info": {
"package_name": "io.plaidapp.debug"
}
},
"oauth_client": [
{
"client_id": "575982651947-rtsodjemkvdq3tqm7fcl4tevgekalapu.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyD3CVtxqUh-yKDr7HbTuY2g8mTkxHIplnQ"
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 1,
"other_platform_oauth_client": []
},
"ads_service": {
"status": 2
}
}
}
],
"configuration_version": "1"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Binary file modified art/ic_launcher_layered.sketch
Binary file not shown.

0 comments on commit 79a28ce

Please sign in to comment.