-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Context on Prerendered Shiny Documents
I have a lightweight app that I've created using Prerendered Shiny Documents. From my understanding of how this works, you specify code normally placed in a ui.R file in a chunk with context="render"
and code normally placed in a server.R file in a chunk with context="server"}
Integrating Firebase with Prerendered Shiny Documents
Using the most basic Firebase app example from John Coene's documentation, I try to specify the ui and server components in the prerendered Shiny document format as described above (see Reprex). The problem is I'm not seeing the authentication modal pop up with email and Google sign-in options. Any insights would be appreciated!
Reprex (copy in between quotes)
"```{r setup, include=FALSE, context="setup"}
library(shiny)
library(firebase)
"```{r, echo=FALSE, context="render"}
useFirebase()
firebaseUIContainer()
reqSignin(h4("Logged in!"))
```"
"```{r, context="server"}
FirebaseUI$
new()$ # instantiate
set_providers( # define providers
email = TRUE,
google = TRUE
)$
launch() # launch
What I see when I render document
Metadata
Metadata
Assignees
Labels
No labels
