Point your Firebase Android SDK at Lark by passing your Lark URL toDocumentation Index
Fetch the complete documentation index at: https://docs.larksh.com/llms.txt
Use this file to discover all available pages before exploring further.
FirebaseDatabase.getInstance(). Everything else (listeners, writes, queries) works without changes.
Setup
Add the Realtime Database dependency to your module’sbuild.gradle:
Connect to Lark
Pass your Lark URL when getting the database instance:google-services.json already has the databaseURL field, you can update it there instead and use FirebaseDatabase.getInstance() without arguments.
Project settings
Before connecting, make sure your Lark project is configured correctly:- Allow Legacy Firebase must be enabled in your Lark project settings. This turns on the Firebase wire protocol.
- If your Firebase app stores many independent data silos under path prefixes (game rooms, workspaces, etc.), see Database routing for options on splitting them into separate Lark databases.

