Add the ability to debug on same device as production application. (#271)

* Add the ability to debug on same device as production application.

* Update mock-google-services.json for debug version.
This commit is contained in:
Justin Bassett 2020-01-18 19:10:11 -05:00 committed by Paulus Schoutsen
parent 1219767ef4
commit cc241e18bc
2 changed files with 16 additions and 0 deletions

View file

@ -18,6 +18,19 @@
"current_key": "current_key"
}
]
},
{
"client_info": {
"mobilesdk_app_id": "mobilesdk_app_id",
"android_client_info": {
"package_name": "io.homeassistant.companion.android.debug"
}
},
"api_key": [
{
"current_key": "current_key"
}
]
}
],
"configuration_version": "1"

View file

@ -47,6 +47,9 @@ android {
}
buildTypes {
debug {
applicationIdSuffix ".debug"
}
release {
debuggable false
jniDebuggable false