firebase

Version: stable

FUNCTION
firebase.init()
firebase.get_installation_auth_token()

Functions

firebase.init()

firebase.init(options)

Initialise Firebase

PARAMETERS

options table Optional table with initialisation parameters to use instead of those specified in google-services.xml/plist When passing this, disable creation of the default Firebase App by specifying firebase.no_auto_init in game.project Valid keys in the table are api_key, app_id, database_url, messaging_sender_id, project_id, storage_bucket. All values are strings.

firebase.get_installation_auth_token()

firebase.get_installation_auth_token(callback)

Get the Firebase Installation auth token

PARAMETERS

callback function Function to invoke with the auth token (self, token)