hmott's Recent Forum Activity

  • hmott

    Try re-download rex_firebase plugin again. I am not sure why the function could not be found in your environment.

    That did it!

    Thanks!

  • hmott

    Could you paste the error message of using "order by value"? Is it the same as previous testing from your post?

    I've updated the post with the error and the code that creates it. Hope it helps.

  • hmott

    Update rex_firebase_query plugin, and

    Here is a sample capx, remember fill your firebase url in "BASE" constant value.

    I only could prove this order by value is worked, but I don't know why it is failed in your case, this bug should not appear imo.

    I don't understand... I updated the plugin and tried the sample file you provided.

    The only thing I changed was the BASE url like you instructed. Writing to my database from your sample file works, but the query function is in error.

    Here's the code that makes the error:

    Does it work for you?

    *** Update ***

    I've been able to get it to work if searching for the key ("a" through "d" in your example). Also, adding the "Data is null" condition triggers correctly when searching for non-existing key "e", for example.

    Attached is a screenshot of what does work (when BASE url filled in: https://<appname>.firebaseio.com).

    http://postimg.org/image/4mh8nxv6r

    This is good enough for me. Even if I can't search for value, I can at least define and search for the key whether it exists or not. I can then use another query call to get the value if needed.

    Thanks again for your help.

  • Having some trouble querying by value. I keep getting this error:

    http://postimg.org/image/ijdesneq1

    Here's the code I'm using (see 3rd image that define variable names):

    http://postimg.org/image/rsrflnxij

    Here's the firebase data:

    http://postimg.org/image/rakdnjhxj

    Any ideas? Thanks.

  • Update - rex_firebase_query plugin, add "Action:Order by value".

    hmott

    Since the data structure in firebase is dictionary, add the key in path will get the respond value if the key is exited.

    To search keys which has a specific value, you could use "Action:Order by value" ( sorry I had missed this action ),

    [quote:2bsr330t]create query

    order by value

    equal to -

    then a 1d dictionary will be received.

    Thanks for such a quick update!

  • Hi Rex, is there a way to search for a key or value in firebase without knowing if they exist? It seems the plugins crash when searching. I tried the query and filter plugins. Any ideas?

    I'm want to use fb for one user to enter a title (fb key) and text (fb value). Then enable another user to search for the title. If the title exists, I'd like the second user to download the text linked to the title.

    Thanks

  • Hi, thanks for making the plugin. I tried the app strictly "as-is" with my own api key.

    Exported the app to Intel XDK, then ran the app on my phone and another on my laptop browser.

    Nothing worked with phone's wifi turned off.

    With wifi on I was able to send a text from the laptop client to the phone.

    Haven't tried between laptops, but would most likely not consider making an app unless it works on mobile devices connected to cell network.

    C2's MP plugin has a similar limitation where it works as an app on a phone but only when connected to wifi. Cell networks lets me fetch room names but not connect to another device.

    Hope that feedback helps.

  • When tapping on a text box on an android>cordova>intel-xdk build, the keyboard opens and shrinks the screen, but the youtube object stays in place. Why is this?

    Can text boxes and sprites be made to behave like the youtube object when the keyboard slides open?

    It didn't happen when using intel's preview app. I didn't see it until installing the apk on my phone.

    thanks.

    Solution: in Intel XDK go to "Build Settings" and check the box "Full Screen".

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When tapping on a text box on an android>cordova>intel-xdk build, the keyboard opens and shrinks the screen, but the youtube object stays in place. Why is this?

    Can text boxes and sprites be made to behave like the youtube object when the keyboard slides open?

    It didn't happen when using intel's preview app. I didn't see it until installing the apk on my phone.

    thanks.

  • on textbox clicked:

    - system scrollto object textbox

    - system set scale to 2

    ofcoure you'd have to set unbounded scrolling to yes.

    you could also check the window.width and window.height to get a better idea if the size is changed and scale accordingly.

    I too have a problem. My app's text box disappears entirely, along with two sprites that are beside it. There is a youtube window which stays visible and doesn't change. Is this the same problem? Thanks.

  • Hi Pode, I tried to install this plugin, but an error popup says "Unable to load plugin... Found 'GetPluginSettings' global, but it is not a function."

    Any ideas?

    Thanks

  • Hi all,

    Since it seems the standard Multiplayer object from Scirra is not working properly with players in different networks (except LAN), I would like to start using this plug-in in Construct 2.

    Is there any complete tutorial step-by-step and for begginers about how to start to use it?

    Any good and basic example regarding how to implement a multiplayer game?

    Thanks in advance!

    A slight correction. The MP plugin works online, not just on LAN. I've been able to transmit data between two computers in different cities. It works fine, but not on mobile networks. On mobile networks, you can read the rooms available, but connecting to a room, which would be another device, crashes the connection.

hmott's avatar

hmott

Member since 13 Nov, 2012

None one is following hmott yet!

Trophy Case

  • 12-Year Club

Progress

12/44
How to earn trophies