Skip to content

Update GenericApp google-services.json to current Firebase project config #60

Description

@Miggets7

Context

PR openremote/openremote#2794 ("Set action on push notification confirm button", fixes openremote/openremote#2605) populates the action field on the push notification confirm button, so tapping it executes the notification's own action.

As noted in the PR discussion, the Android app also needs updating for this to work end-to-end — specifically its Firebase configuration.

Problem

GenericApp/app/google-services.json is out of date with the current Firebase project (openremoteapp-a6a60):

  • oauth_client is empty [].
  • services.appinvite_service.other_platform_oauth_client is empty [].
  • storage_bucket still referenced the legacy *.appspot.com host instead of the current *.firebasestorage.app.

At runtime this surfaces as Firebase Installations Service (FIS) failures in Logcat, which block FCM token retrieval and therefore push delivery / action handling:

Failed to get FIS auth token
com.google.firebase.installations.FirebaseInstallationsException: Firebase Installations Service is unavailable. Please try again later.

Without a valid FCM token the device never receives the push notification, so the confirm-button action delivered by #2794 never reaches the Android client.

Fix

Re-download google-services.json from the Firebase console for project openremoteapp-a6a60 and replace GenericApp/app/google-services.json, ensuring:

  • correct api_key, oauth_client, and storage_bucket,
  • the project has FCM HTTP v1 enabled,
  • the "Firebase Installations API" is enabled and the API key has no restrictions that block it.

A partial update already exists in the working tree (storage bucket switched to *.firebasestorage.app); finalize, verify, and commit it.

Verification

  • Build & run GenericApp, confirm an FCM token is obtained (no FIS errors in Logcat).
  • Trigger a rule push notification with an action + confirm button; tapping confirm executes the notification's action on-device.

Related

Metadata

Metadata

Labels

BugSomething isn't working

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions