Connected Games and Server Registration
A compatible server application and supported mobile client can share an authoritative Firebase-hosted game service. Delivery and registration are administrative workflows; gameplay requests do not pass through the delivery service.
Android app -- authenticated requests + App Check --+
|
Browser -- existing session -- Server application --+--> Firebase
project-bound signed requests shared state
| and transactions
iOS app ........ future client integration .........+
|
Software Delivery -- authorized registry lifecycle -+
Android also uses Google Play Games for personal
backups, wallet, leaderboards and permitted social data.
The server application keeps its signing key locally. Only a short-lived signed public registration bundle is copied to the Instance configuration. The browser authenticates to its existing server, which signs the service request. This does not require a Firebase Web App or client-side service account key.
Registration lifecycle
- In the Firebase application configuration enable Community game, specify Game name, Game identifier and Registry function region. Deploy compatible registry and guest endpoints.
- Generate an instance-specific identity in the server application; restart if required. Copy the signed public registration information.
- In the corresponding instance's Game Identity Registrations, choose Add or update game registration, select the game, paste the bundle and register. Verify status and the target project. Never transfer the private signing key.
- Use enable, disable and delete controls to manage access. Disable or deletion revokes the server's access, not the existing garden memberships. A disabled tombstone prevents stale registration proofs from restoring access. Rotate a compromised key at the source after disabling access; keep the permanent server identifier stable, restart and register the replacement key. Independent clones need distinct identities.
Bramble Harvest and Blackcap reference integration
Android hosts create online Community Gardens and invite gardeners. A user signs in to a registered Blackcap instance, sets a unique gamer name on that server, accepts the invitation, then plays the same shared garden. Presence, Next Day coordination and Garden Mail are shared. iOS is an architectural target, not a currently supported shared-garden client.
The online backend authorizes memberships, host subscriptions, state revisions and verified transactions. Browser guests can join, play and leave; they cannot host, manage invitations, buy or transfer wallet coins, buy recovery or redeem AI Seeds in these online gardens. Native server-hosted gardens remain independent. The mobile Play Games personal backup/wallet is not in Firebase. The web identity is not a linked Play Games account.
During non-production validation, confirm both clients see committed state and permission changes; verify revocation and re-enablement using a test garden. If registration fails, check the selected project, region, instance reference, signature expiry, time synchronization and authorized registry invoker. Avoid publishing player IDs, signed bundles, or private diagnostics.