Learn R Programming

polished (version 0.4.0)

firebase_dependencies: Load the Firebase JavaScript dependencies into the UI

Description

Under the hood, polished uses Firebase JavaScript dependencies to handle user authentication. This function loads the required Firebase JavaScript dependencies in the the UI of your Shiny app.

Usage

firebase_dependencies(services = c("auth"), firebase_version = "7.15.5")

Arguments

services

character vector of Firebase services to load into the UI. Valid strings are "auth" (default), "firestore", "functions", "messaging", and "storage"

firebase_version

character string of the Firebase version. Defaults to "7.15.5".

Value

the HTML <script> tags for the Firebase JavaScript dependencies

Examples

Run this code
# NOT RUN {
firebase_dependencies()

# }

Run the code above in your browser using DataLab