firebase_dependencies {polished}R Documentation

Load the Firebase JavaScript dependencies into the UI

Description

Under the hood, polished uses Firebase JavaScript dependencies to handle Social sign in & user authentication when sign_in_providers besides "email" are included in polished_config(). 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


firebase_dependencies()


[Package polished version 0.8.1 Index]