[plugin] firebase

Post your completed addons to share with the community

Post » Mon Jun 27, 2016 7:18 pm

@rexrainbow

it's possible to login with the same fb account multiple times. Is there an easy way to prevent this? I could set a variable to 1 in the firebase save slot when someone logs in and set it to 0 when someone logs out and check this variable everytime someone tries to login..but is there a simpler way?


/edit: rex_firebase_singleLogin, I didn't seet this plugin. sorry
B
12
S
3
Posts: 211
Reputation: 1,477

Post » Tue Jun 28, 2016 11:13 am

@rexrainbow

Hey, I'm getting the following error:
Image

using firebase api v3, firebase authentication, and firebase save slot.
Last week it was working normally (authenticating with facebook, reading/creating/saving data), but today I can't seem to login into firebase with facebook. Even tried creating new firebase project, no luck.

I also noticed in your plugin:
/*! @license Firebase v3.0.0
Build: 3.0.0-rc.9
...

while in
Code: Select all
https://www.gstatic.com/firebasejs/3.0.5/firebase.js
it's:
/*! @license Firebase v3.0.5
Build: 3.0.5-rc.2
...

Any idea? Thanks!
B
9
S
5
G
2
Posts: 4
Reputation: 1,789

Post » Tue Jun 28, 2016 2:37 pm

http://c2rexplugins.weebly.com/rex_fire ... login.html apparently the plugin "date" is needed to make your demo work. Just noticed it..
B
12
S
3
Posts: 211
Reputation: 1,477

Post » Tue Jun 28, 2016 4:08 pm

@Fireche

You might not need rex_date plugin if you does not need to parse expression:CurLoginTimestamp.
B
108
S
26
G
258
Posts: 4,430
Reputation: 145,179

Post » Tue Jun 28, 2016 4:09 pm

@mvitlov

I had not login with facebook in firebase v3.05 api, I will try it recently and post the result.
B
108
S
26
G
258
Posts: 4,430
Reputation: 145,179

Post » Tue Jun 28, 2016 6:03 pm

rexrainbow wrote:@Fireche

You might not need rex_date plugin if you does not need to parse expression:CurLoginTimestamp.


but I cant even open the demo because I dont have the date plugin. Can you upload it without the parsing inside so I can open it too? :>
B
12
S
3
Posts: 211
Reputation: 1,477

Post » Wed Jun 29, 2016 12:45 am

@FirecheFireche

Okey, I had updated the sample capx of firebase_singleLogin.

BTW, here is a small tool which can download/unzip/install all my plugins.
B
108
S
26
G
258
Posts: 4,430
Reputation: 145,179

Post » Wed Jun 29, 2016 11:16 am

@rexrainbow still not updated for me. It still requires Date. But I just downloaded your date plugin^^ i think its easier this way
B
12
S
3
Posts: 211
Reputation: 1,477

Post » Thu Jun 30, 2016 2:43 am

@Fireche

It is easier indeed. I forgot to remove date plugin from project before.
B
108
S
26
G
258
Posts: 4,430
Reputation: 145,179

Post » Thu Jun 30, 2016 3:59 am

Update

Upgrade firebase api plugin to v3.0.5.


@mvitlov
I could not get useful error message from the image you provided, therefor I suggested that the error was came from login by facebook.
I tried to login by facebook ( sample capx ) today with newest firebase api plugin, it worked fine.
B
108
S
26
G
258
Posts: 4,430
Reputation: 145,179

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests