[plugin] firebase

From the Asset Store
Firebase Analytics Web App, ( Firebase SDK version 10.0.0 )
  • Which plugin is complicated? rex_firebase_itembook?

  • rexrainbow oh no, I wasn't saying your plugins were complicated, just the Firebase API itself. I had worked with it before using just REST url calls but with all the changes to Firebase it seems a bit more complicated now

  • I had never user REST url before. My plugins are all javascript ("For web" section in document), it had some small changed, too.

  • rexrainbow

    Hello, does cocoon.io support firebase v3? At least Webview+

  • I have no idea. My friend had tested these firebase plugins are compatible with Cordova(Phonegap).

  • Hello, great job on the plugins!

    I have a question regarding firebase authentication plugin.

    I'm confused by the "remember combo (persisting type)" for "Login by authentication provider".

    Not sure if I understand it right. Is it used to automatically reauthenticate the user who has already logged in (i.e. with facebook) before, and then exited the game?

    Do I save his "AccessToken" (maybe in local storage) and do a check if it exists next time he gets back and if exists do the "login with auth token" or is this meant to be used in a different way?

    I'm relatively new to C2 and trying to learn as much as possible.

    Thanks in advance! Cheers!

  • mvitlov

    That feature only worked for old firebase (v2) api plugin.

    Since the c2 application always stay in a page, I had not tested the case of go to other page.

  • Hi Rex,

    Thank you for your great plugins.

    But i have a problem when using "On Disconnected" condition.

    I don't know it is a bug or something but when i put a action in "On Disconnected" condition it always run even when my app is connected to firebase.

    Hope you can help.

    Thank you.

  • mickeyboy

    Yes, "Condition:On disconnected" will be triggered once while app started. It means connection from off (disconnected) to on. Is it a good idea that ignoring first "disconnected" trigger before "on connected"?

  • Thank you for your answer, but "Condition: on disconnected" still trigger after "on connected" trigger. I was try to add key and a value when "on connected" and delete it when "on disconnected", the result is the value is added but deleted immediately after this.

  • mickeyboy

    Could you provide your simple test capx for this case?

    In my test, the disconnected after on connected will not happen, except I disconnect manually by "action: go offline".

  • Update

    Change the behavior of "Condition:On disconnected" in rex_firebase plugin -

    "Condition:On disconnected" will be triggered while disconnected after connected.

  • rexrainbow

    Thank you. It working fine now, my mistakes.

  • Hello rex,

    Is it possible to make somithing like terminal (Server side program), which will be stored on firebase server? This program would control database and it necessarily have to work always to spy what is happening on database.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Firebase has a dashboard of realtime database already.

    Firebase does not provide cloud code platform. Designer need run server logic on the other platform like... heroku, google application engine, etc. Moreover, designer also could make server logic by C2 then run at a browser like a client.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)