Arne's Recent Forum Activity

  • I just did a quick check, you need to use this ugly, very ugly, horrible type of code (Ashley, hint hint )

    window["nfc"]["addNdefListener"](function (nfcEvent) {[/code:iz2pke23]
    
    You should also check your return values, like:
    [code:iz2pke23]lastData = JSON.stringify(nfcEvent.tag)[/code:iz2pke23]
    But it seems they got clear of the Axe this time.
  • If you need to use "Plan B" you can add the JS file name in the "function GetPluginSettings()" in edittime.js

    This is typically needed for JS-API based libraries when you want to keep it in a local file. My setting for ParseFE is:

    "dependency":	"parse-1.3.1_fe_1.js",
    [/code:1gdvujte]
    For the Push functions in ParseFE I listen for events from the Cordova plugin by using a construct like this:
    [code:1gdvujte]document.addEventListener('onParsePushReceived', function (pushBundle) {
    }
    [/code:1gdvujte]
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • part12studios Sent you a reply via our support mail.

    Thanks,

    Arne

  • Savvy001

    Good that you found the issue. The Cordova export procedure is almost fully automatic nowadays. The only thing you need to remember for Intel XDK is to do the import of the project.

    I you start with a blank project you need to add the Cordova plugin manually as the configuration file is not read by the XDK.

    I was looking for a tutorial to reference but did not find a generic one for Cordova but the one for Crosswalk is good to read: https://www.scirra.com/tutorials/809/ho ... -crosswalk

  • amkp Thanks, I will check it and get back to you.

  • What Android versions do you have on those devices?

  • newt That's the one. If you publish via Amazon you can use a dedicated Amazon ad instead of e.g. Admob. Don't have any experience if it's better or not.

    We have some apps on Amazon, you just use a standard Cordova export. Test it first by dropping it on their app tester to see if it will work on Amazon specific devices, it usually works fine.

  • I have a Nexus 7 with Android 5.0 and the notification is shown as an icon and when I drag down the notification area I can also see the text message.

    When the app is in the background or killed the notification should always be visible as an icon. How long did you wait for the notification?

  • amkp You need to go on a dungeon quest to find the Custom Analytic part.

    Path: Parse Analytics > Events > (+) > UserClick Count > Custom Breakdown > UserClick > Filters

    Added an attachment with a screenshot how it should look when you find it.

    [attachment=0:6iemz5hq][/attachment:6iemz5hq]

  • amkp

    I did a Crosswalk export and sent the following data as JSON from the Parse Dashboard.

    {"name":"Arne","location":"Sweden"}[/code:186o681j]
    When it arrived on my Android device it looked like this:
    [code:186o681j]{"location":"Sweden","name":"Arne","push_hash":"d41d8cd98f00b204e9800998ecf8427e"}[/code:186o681j]
    
    The JSON you are showing looks like it came from an iOS device. The "aps" part are only sent to iOS devices.
    
    How do you send your JSON string?
  • I did this some time ago. Is that what you are looking for?

  • I want the code to be minified but I want to use "dot"-code completion also. Now I have code that looks like this:

    var queryClass = Parse["Object"]["extend"](qClass);
    queryObject = new Parse["Query"](queryClass);
    [/code:39a6ce09]
    It looks horrible,  fails JSHint/JSLint, is error prone, does not support code completion or JSDoc type documentation. Just plain bad!
    
    To test how good it can be, I did my own [url=https://www.frostyelk.se/development/edittimeLib.zip]edittime.js lib[/url] with documentation and code completion support and get this when I point to AddCondition i WebStorm:
    [img="https://www.frostyelk.se/development/AddCondDocsLibWS.PNG"]
Arne's avatar

Arne

Member since 22 Feb, 2014

None one is following Arne yet!

Connect with Arne

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies