unicornspitfire's Recent Forum Activity

  • I want to have some detection when my android app is either on pause, being switched out, or going to background (minimize kinda). Anyone got the way how to make that happen?

  • I have cordova inappbrowser installed. However, it was kinda random when I tried to go to some Url using C2 Browser : Go to Url with target self. Sometimes Inappbrowser opens, sometimes default Chrome browser opens.

    Recently I've experimented on using

    window.open(url, "_system");[/code:1eut8frw] and it navigated me to Url with Chrome 
    but when I used [code:1eut8frw]window.open(url);[/code:1eut8frw] Inappbrowser was working normally.
    
    I want to get rid of this inconsistency. Anyone has an idea how to make Inappbrowser a default action when navigate to Url?
  • try:

    Global variable c2Var = "https://www.scirra.com/"

    "var myUrl ='"&c2Var&"';
    var ref = cordova.InAppBrowser.open( myUrl, '_blank', 'location=yes');"[/code:1r9zr6hv]
    

    Thank you. I'll try it out.

  • Do I have anyway to sneak in a global variable into 'browser execute javascript' action?

    Some thing like, for example

    var ref = cordova.InAppBrowser.open('http://===INSERT VARIABLE HERE===', '_blank', 'location=yes');

  • I think it might be better to get rexrainbow to encrypt the key in the plug, or at least allow users to set what the key is at runtime which we can in turn encrypt/ decrypt ourselves via some other plug.

    But you need to make a post in his thread about the plug, otherwise he may not see this.

    It's not like he's not super busy with other stuff.

    Finally reply is working.

    Thanks but using gumshoe method is doing just fine for me.

    The only thing that bothering me now is rex authentication plugin doesn't work on mobile webview. I still haven't found the solution yet but I my assumption is it has something to do with in app deeplinks (or universal links). I'm still solving the problem.

  • I want to secure my firebase database for my mobile app and recently I've found that data.js contains API key for the FirebaseAPIV.3 (rex's plugin).

    My questions here are :

    1. Is it normal (or safe) for my app to contain Firebase API key data?

    2. Is it possible for someone to alter my app and sabotage my database using their altered version of my app? (considered that I haven't done any server side security)

    3. Do I have anything else for the security matters to be concerned of?

  • [SOLVED]

    I tried using str(Variable) to convert integer to string and it's work.

    Took me whole day to figure this simple thing out.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The problem I noticed is that comparing value using key from global number variable seems not to work.

    I tried to compare value from dictionary by getting key (number "3") from global number variable and it did not work. However, when I tried using a normal number for example "3" to compare, it worked.

    I have something like:

    Dictionary | key Variable = "True">>>>>>>Text | Set text to "correct"

    Please help.

  • What do you guys think about creating a new forum for mobile app developer to share information and knowledge? (How do I....? and plugin SDK forums for mobile apps)

    For me it would be great since we can discover new techniques and get some ideas of how big Construct 3 can do on mobile app making.

    Please share your thought.

  • I've tried making test app by using a simple on 'button clicked' event to show Appodeal interstitial. I built it with cocoon io and tested it on both of my mobile and simulator. The interstitial was properly shown, however, after the first interstitial was shown, if I click on the button to show interstitial again, the screen went darker and I couldn't click on anything unless I press the return button on my mobile phone then the dark screen is gone and so I could be able to close the interstitial once again.

    How do I get rid of the dark screen that required me to press return button to continue?

    If the situation is not unclear I could upload the screenshot of it.

  • There is also mysprite.count that does that.

    Thanks for another the suggestion.

    I've changed to something like mysprite.PickedCount and it woks best for me.

  • Life saving! "For each" does the trick.

    Thanks.

unicornspitfire's avatar

unicornspitfire

Member since 6 Mar, 2017

None one is following unicornspitfire yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies