Database::GetInstance(). Everything else (listeners, writes, queries) works without changes.
Setup
Add the Firebase C++ SDK to your project. Follow the Firebase C++ setup guide for your platform (Android NDK, iOS, or desktop). Make sure the Realtime Database library is linked:- Android:
firebase_databasein yourCMakeLists.txt - iOS:
firebase.frameworkandfirebase_database.framework - Desktop:
firebase_databaselibrary
Connect to Lark
Pass your Lark URL when getting the database instance:google-services.json (Android) or GoogleService-Info.plist (iOS) already has the database URL, you can update it there instead and use Database::GetInstance(app) without a URL argument.

