How do I use the Firebase plugin properly? Bug?

Get help using Construct 2

Post » Fri Nov 04, 2016 8:06 pm

Hi,
I'm currently testing the firebase plugin from @rexrainbow . The plugin doesn't work as I only get this error message when starting the preview.
Is there something I could have done wrong? I actually just imported the plugins Firebase Core, Auth and ItemTable in a empty project and it still crashes.

This is the error message I get:
Code: Select all
Javascript error!
TypeError: window.FirebaseAddAfterInitializeHandler is not a function
http://localhost:50000/Rex_Firebase_Authentication_plugin.js, line 56 (col 9)

This may be a bug in Construct 2 or a third party plugin or behavior - please report it to the developer following the bug report guidelines. Subsequent errors will be logged to the console.


Any help is appreciated!
Thanks! :)
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Sat Nov 05, 2016 1:28 am

@aquadijoib

Updating rex_firebase_apiV3 plugin and try again.
B
108
S
26
G
267
Posts: 4,456
Reputation: 149,747

Post » Sun Nov 06, 2016 1:50 pm

Thanks @rexrainbow!
After installing the firebase apiv3 it works now.
I have one question though :) Can you tell me how to set up the facebook login with the authentication plugin?
I don't know where I get the access token and if I need to add the facebook plugin too.
Thanks again!
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Sun Nov 06, 2016 1:55 pm

@aquadijoib

Setup by section "Before you begin", step2,3 in this page
B
108
S
26
G
267
Posts: 4,456
Reputation: 149,747


Return to How do I....?

Who is online

Users browsing this forum: Fenix18 and 9 guests