JohnCoene / firebase

Google FIrebase for shiny
https://firebase.john-coene.com
GNU Affero General Public License v3.0
171 stars 26 forks source link

Error in private$.namespace #17

Closed richardsprague closed 3 years ago

richardsprague commented 3 years ago

I'm completely unable to get any of the documentation examples to work. Shiny loads and appears to think I'm already logged in; even on first launch the only UI I see is the "Sign out" action button. I've tried on different machines, new Google firebase account, config file vs environ vars, but absolutely nothing works. Same results whether I use CRAN version or ‘1.0.0.9000’

One clue. I wonder why do I get this message

> f <- FirebaseUI
> f$new()$set_providers(email=TRUE, google=TRUE)
ℹ Fetching firebase config from environment variables
Error in private$.namespace(session) : attempt to apply non-function
JohnCoene commented 3 years ago

I'm sorry.

There was indeed an issue with the package which I just fixed. However, it was with JavaScript and not the R6 class.

Could you reinstall from Github and retry.

If it works, close this issue, if it does not, tell me which browser you are using.

richardsprague commented 3 years ago

It works now! Thanks for the quick response.