Kraudi's Recent Forum Activity

  • You don't technically need to use the Browser plugin anymore. In the C3 runtime you can add inline Javascript statements, which can use function parameters etc.

    Cool I didn't knew that. Thank you for that I'm gonna have a look at it :)

  • Ok I got it to work with the way I described. Adding it manually to the json/xml and sign it. Works fine when using the correct functions via Browser.javascript object :) Very cool it worked.

  • Adobe After Effects usually

  • You do not have permission to view this post

  • I would pay an extra fee just for icloud support for iOS apps as well.

  • Not sure if this will be helpful, but this is how I added "cordova-plugin-facebook4" plugin to my app for game analytics:

    > Add the following lines to config.xml
    
    <plugin name="cordova-plugin-facebook4" >
    <variable name="APP_ID" value="1234567890" />
    <variable name="APP_NAME" value="App name here" />
    <variable name="FACEBOOK_ANDROID_SDK_VERSION" value="4.40.0" />
    </plugin>
    
    
    Add to config.json in "plugins" section:
    
    {
    	"id": "cordova-plugin-facebook4",
    	"version": null,
    	"variables": [["APP_ID", "1234567890"], ["APP_NAME", "App name here"], ["FACEBOOK_ANDROID_SDK_VERSION", "4.40.0"]]
    },
    
    

    Add files to zip and build with C3. If all done correctly you should be able to call methods from this plugin from scripts or with Browser Execute Javascript action. In my case:

    "facebookConnectPlugin.logEvent('event_name');"

    github.com/EddyVerbruggen/cordova-plugin-taptic-engine

    I tried that with this one as well as I would like to add some sort if vibration to my game.

    After I built the xcode project with the clould service I've seen that the taptic engine plugin was added to the xcode src files.

    I tried to use Browser javascript function to use the function "TapticEngine.strongBoom();" but it does not work. Did I do anything wrong or do I need to do further steps to implement it? Would be nice if you could help on the case if you have some time :)

    Regards,

    Kraudi

  • Yes, but normally that would do nothing, since usually you'd have to actually make some calls to the plugin for it to do anything.

    Yep I tried it with calling the function via javascript with the browser plugin. Doesnt seem to work :(

  • I think the best approach is to use the addon SDK to write a plugin that uses the Cordova plugin. You can also set the Construct addon to automatically add the Cordova plugin as a dependency.

    Okay thanks. Is it also possible to export a cordova project and add the plugin to the xml/json file and then after build it with the construct cloud builder?

  • I would like to know how I can use a third party cordova plugin like this?

    github.com/EddyVerbruggen/cordova-plugin-taptic-engine

    Scirra added it to their build service whitelist but I have no clue how to use it?

    Regards;)

  • The Cordova team is still discussing it. While there is currently a warning for it, this will not prevent you from publishing.

    You can follow their discussion at github.com/apache/cordova-ios/issues/661. They appear to be treating it as a high priority issue, but the problem is complex.

    Alright! Thanks for it :)

  • Any news on the case? Getting the same from apple.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Kraudi's avatar

Kraudi

Member since 14 Jan, 2013

Twitter
Kraudi has 1 followers

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies