[plugin] firebase

Post your completed addons to share with the community

Post » Wed Dec 31, 2014 8:42 am

Firebase - A powerful API to store and sync data in realtime.

Core plugins
Must install
firebase api
rex_firebase_api
firebase
rex_firebase
rex_firebase_authentication
rex_firebase_query

Application plugins

save data
rex_firebase_savedata


save file
rex_firebase_storage


Leaderboard
rex_firebase_leaderboard


rex_firebase_itemtable, rex_firebase_itemmonitor
(Core plugins of big map demo)

rex_parse_itemtable


Message
rex_firebase_simplemessage
(Core plugins of message board demo)

Get server time
rex_firebase_timer


Login testing
rex_firebase_singleLogin



Demos
Collaboration ( Capx )
- drag from blue/green/red box to create a ball.
- drag a ball to move it.
- a ball would be removed if put it back to blue/green/red box, or click gray box to remove all balls.
- status(position) of all balls would be stored on cloud (firebase server)


King of clicking ( Capx )
- use facebook account to login
- each clicking would get 1 point
- the name and score of top 3 players would be shown (it is a real-time leaderboard)


Big map ( Capx )
- Enter display name at top text box, then click a character at bottom 5 characters to enter map.
- press arrow-key to move left/right/top/down, or dragging left/right/top/down to move.
- Online players will be shown at bottom with name and current position.
- You might try open more than one page to test it.

Message board
- Edit fields name, title, content then press "Post" button to post a message on wall.
- new arrived message would spark at bottom.
- Press "Refresh" to refresh current page of messages. Press "<" or ">" to turn to previous or next page.
Firebase is good at receiving message immediately, but it could not read by page, so it used parse service to read history messages.


----
Another version of firebase plugin.
Last edited by rexrainbow on Thu Aug 18, 2016 5:33 am, edited 32 times in total.
B
109
S
27
G
278
Posts: 4,483
Reputation: 155,426

Post » Wed Dec 31, 2014 1:02 pm

Hi rexrainbow, Thanks for the plugin...Could you let me know how is this plugin different from the other one that is already here..

plugin-firebase_t91232?&hilit=firebase
For game development / IT services contact - [email protected]

List of published iOS apps -
https://itunes.apple.com/us/artist/ravi ... d693234511
B
84
S
20
G
3
Posts: 337
Reputation: 7,368

Post » Wed Dec 31, 2014 3:40 pm

@kmsravindra

There are some differents- I divide one large plugin into 3 parts.
a. rex_firebase_authentication supports not only facebook email, but also google and twitter, Anonymous.
b. more query features in rex_firebase_query. Some features are newest which released at Nov 4, 2014 (Version 2.0.0 of firebase api).
c. add "transaction" feature in rex_firebase. Merge types of "set value"/"receive value" (string, number) into an action. Add some extra expressions.


In my experience, programming with firebase is not simple/easy for normal C2 users which do not have programming background. So I would like to encapsulate some logic with firebase into new plugins.
Last edited by rexrainbow on Thu Jan 01, 2015 5:34 am, edited 1 time in total.
B
109
S
27
G
278
Posts: 4,483
Reputation: 155,426

Post » Thu Jan 01, 2015 4:08 am

This sounds great !!

"In my experience, programming with firebase is not simple/easy for normal C2 users which do not have programming background. So I would like to encapsulate some logic with firebase into new plugins."
For game development / IT services contact - [email protected]

List of published iOS apps -
https://itunes.apple.com/us/artist/ravi ... d693234511
B
84
S
20
G
3
Posts: 337
Reputation: 7,368

Post » Thu Jan 01, 2015 5:23 am

@kmsravindra

You might propose some use cases to me. I would try to implement them into plugins.
B
109
S
27
G
278
Posts: 4,483
Reputation: 155,426

Post » Thu Jan 01, 2015 5:54 am

I will send you a PM. Thank you.
For game development / IT services contact - [email protected]

List of published iOS apps -
https://itunes.apple.com/us/artist/ravi ... d693234511
B
84
S
20
G
3
Posts: 337
Reputation: 7,368

Post » Fri Jan 02, 2015 3:56 pm

I've tested them. The plugins are compatible with Cordova(Phonegap) for mobile apps. :lol:

Notice that if anyone use the Firebase Authentication Plugin to build Cordova project,
you have to add "In App Browser Plugin" to make it work. You may find "In App Browser Plugin" from Cranberrygames's work.
B
121
S
32
G
8
Posts: 214
Reputation: 13,410

Post » Mon Jan 05, 2015 6:32 pm

Awesome stuff.

I wrote the original Firebase plugin. I am pleased Rex is developing something with all the newer firebase technology, as I don't have time to upgrade the one I stated.
B
14
S
5
G
1
Posts: 60
Reputation: 1,052

Post » Tue Jan 06, 2015 2:23 am

@tlarkworthy

It is still not enough for querying in firebase api, even if they had improved the querying feature in 2014.
B
109
S
27
G
278
Posts: 4,483
Reputation: 155,426

Post » Fri Jan 09, 2015 6:35 am

Update

Add rex_firebase_savedata, rex_firebase_leaderboard plugin. These could be used standalone.
B
109
S
27
G
278
Posts: 4,483
Reputation: 155,426

Next

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests