Skip to content

Commit

Permalink
Merge pull request #140 from timeforcoffee/wear_analytics
Browse files Browse the repository at this point in the history
add firebase on watch app
  • Loading branch information
Nicolas authored Apr 29, 2021
2 parents 3e5a0a8 + d083d66 commit f6c1b97
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
source: "private/googleplay.json"
target: "mobile/googleplay.json"

- name: Copy file
uses: canastro/copy-file-action@master
with:
source: "private/googleplay.json"
target: "wear/googleplay.json"

- name: install dependencies
uses: ruby/setup-ruby@v1
with:
Expand Down
4 changes: 4 additions & 0 deletions wear/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,8 @@ dependencies {
compileOnly 'com.google.android.wearable:wearable:2.8.1'
implementation 'com.squareup.dagger:dagger:1.2.5'
annotationProcessor 'com.squareup.dagger:dagger-compiler:1.2.5'

implementation platform('com.google.firebase:firebase-bom:26.8.0')
implementation 'com.google.firebase:firebase-crashlytics'
implementation 'com.google.firebase:firebase-analytics'
}
74 changes: 74 additions & 0 deletions wear/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"project_info": {
"project_number": "861628624705",
"project_id": "timeforcoffee-976",
"storage_bucket": "timeforcoffee-976.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:861628624705:android:54e12e54138a2f54697bc0",
"android_client_info": {
"package_name": "ch.liip.timeforcoffee"
}
},
"oauth_client": [
{
"client_id": "",
"client_type": 3
}
],
"api_key": [
{
"current_key": ""
},
{
"current_key": ""
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:861628624705:android:93fb4b76535f332a697bc0",
"android_client_info": {
"package_name": "ch.liip.timeforcoffee.dev"
}
},
"oauth_client": [
{
"client_id": "",
"client_type": 3
}
],
"api_key": [
{
"current_key": ""
},
{
"current_key": ""
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}

0 comments on commit f6c1b97

Please sign in to comment.