diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 197aaf16..2fac1dab 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -11,6 +11,10 @@ jobs: - uses: actions/checkout@master - name: Checkout submodules uses: textbook/git-checkout-submodule-action@master + - name: Mock google services + run: | + rm ./app/google-services.json + cp ./app/google-services-example.json ./app/google-services.json - name: set up JDK 1.8 uses: actions/setup-java@master with: diff --git a/app/google-services-example.json b/app/google-services-example.json new file mode 100644 index 00000000..c1161dac --- /dev/null +++ b/app/google-services-example.json @@ -0,0 +1,40 @@ +{ + "project_info": { + "project_number": "1111", + "firebase_url": "https://xxx.firebaseio.com", + "project_id": "xxx", + "storage_bucket": "xxx.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:xxx:android:1111", + "android_client_info": { + "package_name": "com.geeksville.mesh" + } + }, + "oauth_client": [ + { + "client_id": "111-xxx.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "xxx-c" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "111-xxx.apps.googleusercontent.com", + "client_type": 3 + } + ] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file