firebase v3 support?

62 views
Skip to first unread message

tsiknas

unread,
May 26, 2016, 11:58:50 AM5/26/16
to Firepad
Greetings.

Is there any plan for a release that will support firebase v3?

I was able to find some commits on the firepad github repository for this purpose
but not a new version tag yet.

Thank you!

Jacob Wenger

unread,
May 26, 2016, 2:17:02 PM5/26/16
to tsiknas, Firepad
Hey there,

Firepad 1.4.0 was just released which upgrades to the Firebase 3.x.x SDK: https://twitter.com/FirebaseRelease/status/735896669514960896

Enjoy!
Jacob

--
You received this message because you are subscribed to the Google Groups "Firepad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firepad-io+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firepad-io/6bc0fee2-3630-4838-aeef-cedef8ca3aef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

tsiknas

unread,
May 26, 2016, 4:09:45 PM5/26/16
to Firepad, cnia...@gmail.com
Awesome!

Thank you once more!

Mika Genic

unread,
Jun 11, 2016, 1:04:33 AM6/11/16
to Firepad, cnia...@gmail.com
is there an example of using FP 1.4.0 ?

how should firepadRef be initialized ?

thx!

Michael Lehenbauer

unread,
Jun 13, 2016, 2:58:29 PM6/13/16
to Mika Genic, Firepad, cnia...@gmail.com
See https://firebase.google.com/docs/database/web/start#initialize_the_database_web_sdk

Basically you'll need to do:
  // Set the configuration for your app
 
// TODO: Replace with your project's config object
 
var config = {
    apiKey
: '<your-api-key>',
    authDomain
: '<your-auth-domain>',
    databaseURL
: '<your-database-url>',
    storageBucket
: '<your-storage-bucket>'
 
};
  firebase
.initializeApp(config);

 
// Get a reference to the database service
 
var database = firebase.database();
I'll see if we can get the firepad docs updated as appropriate...

Reply all
Reply to author
Forward
0 new messages