Firebase: Firebase

FirebaseR Documentation

Firebase

Description

Core Firebase class.

Value

An object of class Firebase.

Public fields

session

A valid Shiny session.

Methods

Public methods


Method new()

Usage
Firebase$new(
  config_path = "firebase.rds",
  session = shiny::getDefaultReactiveDomain()
)
Arguments
config_path

Path to the configuration file as created by firebase_config.

session

A valid shiny session.

Details

Initialise Firebase

Initialises the Firebase application client-side.

Returns

Invisibly return the class.


Method expose_app()

Usage
Firebase$expose_app()
Details

Expose App

Expose the firebaseApp object product of initializeApp() by attaching it to the window: access it with window.firebaseApp.


Method print()

Usage
Firebase$print()
Details

Print the class


Method clone()

The objects of this class are cloneable with this method.

Usage
Firebase$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


firebase documentation built on July 9, 2023, 7:07 p.m.