[plugin] firebase

From the Asset Store
Firebase Analytics
$2.80 USD
30% off
Firebase Analytics Web App, ( Firebase SDK version 10.0.0 )
  • tmntppn

    I could try to add this feature, it might take some days.

    Thanks a lot.

  • Update

    rex_firebase_apiV3, rex_firebase_authentication, rex_firebase, rex_firebase_curTime plugins: add initialize connection by action.

    In rex_firebase_apiV3, set property "Api key" to empty string "" then call "Action:Initialize" to initialize connection later.

    tmntppn

    Now you could use "Action:Initialize" after reading firebase setting back.

  • Update

    rex_firebase_apiV3, rex_firebase_authentication, rex_firebase, rex_firebase_curTime plugins: add initialize connection by action.

    In rex_firebase_apiV3, set property "Api key" to empty string "" then call "Action:Initialize" to initialize connection later.

    That's quick... Much thx.

    Here is another application plugin to get server timestamp continuously.

    I've tried download and installing the plugin in this link and open the sample but it says the plugin 'Current timestamp' is not installed. The plugin in the link is rex_firebase_counter, is this correct?

  • tmntppn

    It's incorrect. I had fixed the link, or you could download here.

  • rexrainbow

    Hello, rexrainbow.

    I'm not sure if this bug of your plugin, may be i should blame my code. So.. The bug with "rex_firebase_itemtable". When you play offline (without internet connection), and then restart game with interent connection, data doesn't want to save. The only one suspected culprit is my custom var "LoginSuccess"

    Which takes his value after successful cocoon logining

  • Sorry I could not get your point, do you mean that itemtable does not send data to firebase in event 404?

  • rexrainbow

    Yes, it doesn't send data after app was in offline statement

  • Test capx, works fine.

    There are 3 saving

    1. initial, online - saving to item: "0"

    2. go offline - saving to item: "1" , this item won't be saved to server now because it is offline. This saving action will be pended.

    3. go online - saving to item: "2", now item:"1" and item:"2" will be saved.

  • rexrainbow

    I've added a text into my project which every tick shows status of firebase connection

    And it looks like firebase breaks after offline statement.

    Steps:

    1. Open game with internet (Text shows "connected") and close game.

    2. Open game without internet (Text shows "not connected") and close game.

    3. Open game with internet again (Text still shows "not connected")

    Is it bug of firebase or not?

    p.s connection detection is enabled

  • I can not reproduce this situation. "Condition:On connected" is still fired in step 3.

    But... "Condition:On disconnected" is not fired in step2, I will try to fix it. ( "condition:Is connected" returns false in this case )

  • rexrainbow

    Should i make an example?

  • Yes, it is much better.

  • You must install all the plugins?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Jackie chang

    No, firebase_apiV3 is the core plugin of all, then you could add firebase plugin to access firebase service.

    Add firebase_authentication if you need authentication feature.

    Other plugins are application specifically.

  • Thank you for this quick response !

    Is there a tutorial that explains how to use these plugins?

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