deldrid1 / node-red-contrib-firebase

Firebase nodes for Node-RED
MIT License
10 stars 8 forks source link

Update to Firebase 3.x #11

Open deldrid1 opened 8 years ago

deldrid1 commented 8 years ago

We probably need to upgrade to the latest Firebase SDK so that we don't fall too far behind... Migration guide at https://firebase.google.com/support/guides/firebase-web.

Should also look into using some ES6 things like promises to clean up the code and simplify it a bit.

ssoleman commented 7 years ago

The following updates to Firebase 3.x have been made to the config node: -database reference -argument getters are read only (changes made to all firebase nodes other than config node) -authentication code mostly updated except for JSON web tokens option -"custom token generated with secret" login option changed by adding Admin SDK -new authentication state monitor

Updates that still need to be worked on: -JSON web token login option -adding API Key to all logins -adding field to insert the cert for custom token generated login option -adding the close() method back to config node

Bug needed to be fixed: -Alerts and Updates do not work when changing the firebase config. This is probably due to the close()method not being implemented yet

changes made shown here ssoleman@b5d0e5b

Endran commented 6 years ago

Any progress made in this area the last year? Would be nice to get this working :)