[plugin] firebase

Post your completed addons to share with the community

Post » Thu Jun 11, 2015 3:17 am

@norman74

After study these documents. (Wow, this document was posted on March 25th, 2015. It is a newest feature!)
I found that "Session" are records which created while user login, and destroyed after user logging out. One login on any device will have a "Session" object, so there will be 3 Session objects if user login on 3 devices. (But I am not sure that session will be destroyed while app had been closed by OS or not.)

User could have a custom "Session manager" which provided by app designer to know how many devices had login this account.
Image

Edit:
I could see "Session" page after adding a line into my plugin, I will update my auth plugin later.
And the Session object will not be destroyed if closing app without all logging out.
B
108
S
26
G
267
Posts: 4,456
Reputation: 149,747

Post » Sat Jun 13, 2015 7:00 pm

Hey!
Great plugin really useful!
I noticed in Auth that you can log into google, fb, etc and get a token.

Is there anyway to get that token for usage in the app in other plugins? Or can we only get the firebase token?
Check out http://3dswing.com/ for games (in the works) and tutorials on Q3D plugin for construct 2.
-Masterofwin
B
9
S
2
Posts: 53
Reputation: 664

Post » Sat Jun 13, 2015 7:14 pm

Check out http://3dswing.com/ for games (in the works) and tutorials on Q3D plugin for construct 2.
-Masterofwin
B
9
S
2
Posts: 53
Reputation: 664

Post » Fri Jul 03, 2015 3:48 am

Hey @rexrainbow. I'm not sure if they rex_firebase_query is working correctly. I have all the plugins installed and I'm just getting the following warning in the console log:
"FIREBASE WARNING: Using an unspecified index. Consider adding ".indexOn": "height" at / to your security rules for better performance."

Not sure if I missed something since this is all new. Thanks!
B
51
S
13
G
7
Posts: 146
Reputation: 6,773

Post » Fri Jul 03, 2015 3:55 am

@basspenguin

It is a "WARNING" that suggestion you to add an index setting at dashboard to improve the performance of querying. (reference)

You might consider it while development stage had done.
B
108
S
26
G
267
Posts: 4,456
Reputation: 149,747

Post » Sat Jul 04, 2015 7:46 am

Update

Add rex_parse_string to save string with any kind of size. This plugin will divide string into many rows for saving, so that it could be used to save the result of official saving feature.
B
108
S
26
G
267
Posts: 4,456
Reputation: 149,747

Post » Wed Jul 15, 2015 5:19 am

Update

Upgrade api version to 1.5.0.
Add expressions to show error message / error code in most of plugins.



I found that it could not query a key which does not exist recently, which will rise an error ( error code 102). So I need to create class (table) and prepare fields. It's terrible.
B
108
S
26
G
267
Posts: 4,456
Reputation: 149,747

Post » Wed Jul 15, 2015 7:20 pm

Do need to update all firebase plugins or just the core?
B
51
S
13
G
7
Posts: 146
Reputation: 6,773

Post » Thu Jul 16, 2015 3:01 am

@basspenguin

No, I only update rex_parse_* series plugins, not rex_firebase_* plugins.
Sorry for confusing.
B
108
S
26
G
267
Posts: 4,456
Reputation: 149,747

Post » Thu Jul 16, 2015 2:42 pm

Got. Thanks!
B
51
S
13
G
7
Posts: 146
Reputation: 6,773

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 6 guests