extension-firebase

Namespace: firebase Language: Lua Type: Extension

Functions and constants for interacting with Firebase

API

firebase.initialize

Type: FUNCTION Initialise Firebase

Parameters

firebase.get_installation_auth_token

Type: FUNCTION Get the Firebase Installation auth token

firebase.set_callback

Type: FUNCTION Sets a callback function for receiving events from the SDK. Call firebase.set_callback(nil) to remove callback

Parameters

firebase.get_installation_id

Type: FUNCTION Get the Firebase Installation id

MSG_ERROR

Type: VARIABLE

MSG_INITIALIZED

Type: VARIABLE

MSG_INSTALLATION_AUTH_TOKEN

Type: VARIABLE

MSG_INSTALLATION_ID

Type: VARIABLE