Construct2&3 Cordova Plugins (Plugins)

0 favourites
From the Asset Store
The I18N (Translation) is a Construct plugin created to translate text in game.
  • Hello cranberrygame

    Can you update your Appodeal plugin? I get Error on Phonegap Build. Unfortunately, the Appodeal developers will stop support of their plug-in for Construct in March 2018. If you could update and support your plug-in for C3, it would be cool!

  • I get Error on Phonegap Build. Unfortunately, the Appodeal developers will stop support of their plug-in for Construct in March 2018. If you could update and support your plug-in for C3, it would be cool!

    Can you share log error?

  • Hi yvonnesus

    Build Date: 2018-01-26 08:28:56 +0000 
    -------------------------------------------------------------------------------- 
    PLUGIN OUTPUT 
    -------------------------------------------------------------------------------- 
    Fetching plugin "cordova-plugin-crosswalk-webview" via npm 
    Installing "cordova-plugin-crosswalk-webview" at "2.4.0" for android 
    Subproject Path: CordovaLib 
     
            After much discussion and analysis of the market, we have decided to discontinue support for Android 4.0 (ICS) in Crosswalk starting with version 20. 
     
            So the minSdkVersion of Cordova project is configured to 16 by default. 
    Fetching plugin "https://github.com/MBuchalik/cordova-build-architecture.git" via git clone 
    Using shallow clone 
    Repository "https://github.com/MBuchalik/cordova-build-architecture.git" checked out to git ref "v1.0.3" at "1039509". 
    Installing "cordova-build-architecture" at "1.0.3" for android 
    Subproject Path: CordovaLib 
    Fetching plugin "cordova-plugin-statusbar" via npm 
    Installing "cordova-plugin-statusbar" at "2.4.1" for android 
    Fetching plugin "cordova-plugin-device" via npm 
    Installing "cordova-plugin-device" at "2.0.1" for android 
    Fetching plugin "cordova-plugin-splashscreen" via npm 
    Installing "cordova-plugin-splashscreen" at "5.0.1" for android 
    Fetching plugin "cordova-plugin-inappbrowser" via npm 
    Installing "cordova-plugin-inappbrowser" at "2.0.1" for android 
    Fetching plugin "cordova-plugin-screen-orientation@1.4.2" via npm 
    Installing "cordova-plugin-screen-orientation" at "1.4.2" for android 
    Fetching plugin "cordova-plugin-x-socialsharing" via npm 
    Installing "cordova-plugin-x-socialsharing" at "5.2.1" for android 
    Fetching plugin "es6-promise-plugin@4.1.0" via npm 
    Installing "es6-promise-plugin" at "4.1.0" for android 
    Subproject Path: CordovaLib 
    Fetching plugin "cordova-plugin-network-information" via npm 
    Installing "cordova-plugin-network-information" at "2.0.1" for android 
    Fetching plugin "https://github.com/cranberrygame/cordova-plugin-extras-google-play-services" via git clone 
    Using shallow clone 
    Repository "https://github.com/cranberrygame/cordova-plugin-extras-google-play-services" checked out to git ref "master" at "f6f6b28". 
    Installing "cordova-plugin-extras-google-play-services" at "1.0.5" for android 
    Subproject Path: CordovaLib 
    Fetching plugin "cordova-plugin-game@1.0.120" via npm 
    Installing "cordova-plugin-game" at "1.0.120" for android 
    Plugin dependency "cordova-plugin-extras-google-play-services@1.0.5" already fetched, using that version. 
    Dependent plugin "cordova-plugin-extras-google-play-services" already installed on android. 
    Fetching plugin "https://github.com/creakosta/cordova-plugin-payment-iap" via git clone 
    Using shallow clone 
    Repository "https://github.com/creakosta/cordova-plugin-payment-iap" checked out to git ref "master" at "5f3e1f9". 
    Installing "cordova-plugin-payment-iap" at "2.0.52" for android 
    Fetching plugin "cordova-plugin-ad-appodeal" via npm 
    Installing "cordova-plugin-ad-appodeal" at "1.0.58" for android 
    Fetching plugin "https://github.com/cranberrygame/cordova-plugin-ad-chartboost" via git clone 
    Using shallow clone 
    Repository "https://github.com/cranberrygame/cordova-plugin-ad-chartboost" checked out to git ref "master" at "9c4f302". 
    Installing "cordova-plugin-ad-chartboost" at "1.0.83" for android 
    Fetching plugin "https://github.com/cranberrygame/cordova-plugin-ad-unityads" via git clone 
    Using shallow clone 
    Repository "https://github.com/cranberrygame/cordova-plugin-ad-unityads" checked out to git ref "master" at "699cb70". 
    Installing "cordova-plugin-ad-unityads" at "1.0.35" for android 
    Fetching plugin "https://github.com/cranberrygame/cordova-plugin-ad-unityads-sdk" via git clone 
    Using shallow clone 
    Repository "https://github.com/cranberrygame/cordova-plugin-ad-unityads-sdk" checked out to git ref "master" at "991439d". 
    Installing "cordova-plugin-ad-unityads-sdk" at "1.0.3" for android 
    Subproject Path: CordovaLib 
    Subproject Path: cordova-plugin-ad-unityads-sdk/heartbox-android 
    Fetching plugin "https://github.com/cranberrygame/cordova-plugin-ad-admob" via git clone 
    Using shallow clone 
    Repository "https://github.com/cranberrygame/cordova-plugin-ad-admob" checked out to git ref "master" at "930b17f". 
    Installing "cordova-plugin-ad-admob" at "1.0.118" for android 
    Fetching plugin "https://github.com/cranberrygame/cordova-plugin-ad-admob-sdk" via git clone 
    Using shallow clone 
    Repository "https://github.com/cranberrygame/cordova-plugin-ad-admob-sdk" checked out to git ref "master" at "b22949d". 
    Installing "cordova-plugin-ad-admob-sdk" at "1.0.36" for android 
    Plugin dependency "cordova-plugin-extras-google-play-services@1.0.5" already fetched, using that version. 
    Dependent plugin "cordova-plugin-extras-google-play-services" already installed on android. 
    Fetching plugin "https://github.com/cranberrygame/cordova-plugin-ad-mopub" via git clone 
    Using shallow clone 
    Repository "https://github.com/cranberrygame/cordova-plugin-ad-mopub" checked out to git ref "master" at "60b1181". 
    Installing "cordova-plugin-ad-mopub" at "1.0.2" for android 
    Plugin dependency "cordova-plugin-extras-google-play-services@1.0.5" already fetched, using that version. 
    Dependent plugin "cordova-plugin-extras-google-play-services" already installed on android. 
    Subproject Path: CordovaLib 
    Subproject Path: cordova-plugin-ad-unityads-sdk/heartbox-android 
    Subproject Path: cordova-plugin-ad-mopub/heartbox-mopub-sdk 
    Fetching plugin "cordova-plugin-whitelist" via npm 
    Installing "cordova-plugin-whitelist" at "1.3.3" for android 
     
                   This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in. 
    -------------------------------------------------------------------------------- 
    COMPILE OUTPUT 
    -------------------------------------------------------------------------------- 
    Subproject Path: CordovaLib 
    Subproject Path: cordova-plugin-ad-unityads-sdk/heartbox-android 
    Subproject Path: cordova-plugin-ad-mopub/heartbox-mopub-sdk 
    Configuration on demand is an incubating feature. 
    null 
    The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead. 
    	at build_76yiw6cj9p20wbntdxqm6wmfc.run(/project/build.gradle:139) 
    org.xwalk:xwalk_core_library:19+ 
    The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0. 
    Incremental java compilation is an incubating feature. 
    The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead. 
    The ProjectDependency.getProjectConfiguration() method has been deprecated and is scheduled to be removed in Gradle 4.0. 
    ModuleDependency.getConfiguration() has been deprecated and is scheduled to be removed in Gradle 4.0. Use ModuleDependency.getTargetConfiguration() instead. 
     
    FAILURE: Build failed with an exception. 
     
    * What went wrong: 
    A problem occurred configuring root project 'project'. 
    

    A problem occurred configuring project ':cordova-plugin-ad-mopub:mopub-sdk'.

    > You have not accepted the license agreements of the following SDK components:

    [Android SDK Build-Tools 22.0.1].

    Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.

    Alternatively, to learn how to transfer the license agreements from one workstation to another, go to d.android.com/r/studio-ui/export-licenses.html

    * Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    BUILD FAILED

    Total time: 3.536 secs

    Error: /project/gradlew: Command failed with exit code 1 Error output:

    FAILURE: Build failed with an exception.

    * What went wrong:

    A problem occurred configuring root project 'project'.

    A problem occurred configuring project ':cordova-plugin-ad-mopub:mopub-sdk'.

    > You have not accepted the license agreements of the following SDK components:

    [Android SDK Build-Tools 22.0.1].

    Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.

    Alternatively, to learn how to transfer the license agreements from one workstation to another, go to d.android.com/r/studio-ui/export-licenses.html

    * Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    at ChildProcess.whenDone (/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23)

    at emitTwo (events.js:106:13)

    at ChildProcess.emit (events.js:191:7)

    at maybeClose (internal/child_process.js:877:16)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)[/code:4kc2xtee]

  • radbrothers

    Try to use cordova plugin add github.com/appodeal/appodeal-cordova-plugin.git instead of npm install.

    A problem occurred configuring project ':cordova-plugin-ad-mopub:mopub-sdk'.

    > You have not accepted the license agreements of the following SDK components:

    [Android SDK Build-Tools 22.0.1].

    Before building your project, you nee

    This part is not related to Appodeal plugin.

    stackoverflow.com/questions/397 ... components

    In case of building the app in cloud try to set your targetSdkVersion to 23 or up.

    Hope this helps, let me know how it goes <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" />

  • yvonnesus

    Thank you for your attention! I use targetSdkVersion is 24 and I use a appodeal-cordova-plugin in my game and it work fine, but Appodeal team will stop support of construct 2 plugin in march 2018 and will not support of C3. So I'm worried about what I can use in the future.

  • Hi,

    the cocoon plugins are free. You find all information in my guide here

    https://shatter-box.com/knowledgebase/cocoonio/

    Guide for Apple: https://shatter-box.com/knowledgebase/p ... tunes-ios/

    No I do not use PhoneGap, only CocoonIO.

    Regards

    Andy

    Thanks for the help!

    When I installed those plugins, however, I was no longer able to play a preview on my PC. Kept getting an error message, and have gone back to the old one. Frustrating, as it appeared to be working on the devices (exported).

    You had that happen before?

  • >

    > Hi,

    > the cocoon plugins are free. You find all information in my guide here

    > https://shatter-box.com/knowledgebase/cocoonio/

    >

    > Guide for Apple: https://shatter-box.com/knowledgebase/p ... tunes-ios/

    >

    > No I do not use PhoneGap, only CocoonIO.

    >

    > Regards

    > Andy

    >

    Thanks for the help!

    When I installed those plugins, however, I was no longer able to play a preview on my PC. Kept getting an error message, and have gone back to the old one. Frustrating, as it appeared to be working on the devices (exported).

    You had that happen before?

    You're welcome.

    You must add "System -> Is on Platform -> [Cordova]" as condition whenever using a Cocoon action / condition.

    Then the JS doesn't show.

    Regards

    Andy

  • Try Construct 3

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

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

    CORDOVA LOG:  
     
    [2018-03-02 03:40:00.799] [DEBUG] AndroidBuilder - [prepare] cordova restore platforms 
    [2018-03-02 03:40:00.812] [DEBUG] AndroidBuilder - [prepare] adding engine android@6.2.3[/code:1t5y1xdk] 
    phonegap 
    [code:1t5y1xdk]Installing "cordova-plugin-file" at "6.0.1" for android 
    Plugin doesn't support this project's cordova-android version. cordova-android: 6.1.2, failed version requirement: >=6.3.0[/code:1t5y1xdk] 
    just buy this package for this plugin, 
    I needed it for today, a pity 
    I wish I could update this plugin anyway
  • Cocoon

    CORDOVA LOG:  
     
    [2018-03-02 03:40:00.799] [DEBUG] AndroidBuilder - [prepare] cordova restore platforms 
    [2018-03-02 03:40:00.812] [DEBUG] AndroidBuilder - [prepare] adding engine android@6.2.3[/code:2rvdltyr] 
    phonegap 
    [code:2rvdltyr]Installing "cordova-plugin-file" at "6.0.1" for android 
    Plugin doesn't support this project's cordova-android version. cordova-android: 6.1.2, failed version requirement: >=6.3.0[/code:2rvdltyr] 
    just buy this package for this plugin, 
    I needed it for today, a pity 
    I wish I could update this plugin anyway 
    

    You can specify the version for each cordova plugin. Just enter the version at the "spec="*"" parameter, for instance "spec="6

    .3.0" at the file plugin (at config.xml in your cocoon project).

    Regards

  • AndreasR

    I tried it with

    <plugin name="cordova-plugin-file" spec="6.3.0"/>[/code:1ndmdbbn] 
    and 
    [code:1ndmdbbn]<plugin name="cordova-plugin-file" version="6.3.0"/>[/code:1ndmdbbn] 
    and the error continues to appear 
    apparently it is not possible because the version does not exist 
     
    [code:1ndmdbbn]"plugman.cmd install --platform windows --project /cygwin/project --plugin cordova-plugin-fileptv@6.3.0 --nohooks=.": Fetching plugin "cordova-plugin-file@6.3.0" via npm 
    Failed to fetch plugin cordova-plugin-fileptv@6.3.0 via registry. 
    Probably this is either a connection problem, or plugin spec is incorrect. 
    Check your connection and plugin name/version/URL. 
    Error: version not found: cordova-plugin-file@6.3.0[/code:1ndmdbbn] 
     
    [url=https://www.npmjs.com/package/cordova-plugin-file]https://www.npmjs.com/package/cordova-plugin-file[/url] 
    here says this "6.0.1 is the latest of 26 releases"
  • I see. It seems that the android version is meant, not the plugin version itself.

    cordova-android: 6.1.2, failed version requirement: >=6.3.0[/code:x9us218c] 
    So the latest file plugin needs at least cordova-android 6.3.0 or higher. 
     
    You can specify this in the config.xml as well. Cocoon is working with this version by default. 
     
    [b]Apache Cordova android v6.2.3[/b] 
     
    [url=https://cordova.apache.org/docs/en/latest/config_ref/#config-file]https://cordova.apache.org/docs/en/late ... onfig-file[/url] 
     
    [code:x9us218c]<engine name="android" spec="https://github.com/apache/cordova-android.git#6.3.0" />[/code:x9us218c] 
     
    However I'm not sure if cocoon ignores this line and uses its default version. 
    Just give it a try. 
     
    P.S. it works fine on my end, have you added any additional plugins needing such a high cordova version? 
     
    Regards 
    Andy
  • AndreasR

    ready, the mistake was mine, this image explains everything,

    I was compressing badly .zip

    but the plugin I want to use still does not work, it's cranberrygame_CordovaFile_1.0.29

    I want to export a .text but in android it does not request the permissions to write in the memory

    I added the plugin to cocoon too and nothing

  • Addon "cranberrygame_CordovaAppodeal_1.0.9" does not work in c3, why?

  • Hi

    cranberrygame plugins work with cordova cli ?

    i try to install plugin, but cordova has not found the plugin in base ?

  • Hi cranberrygame

    Is it possible to add to the "CordovaIAP" plugin following feature?

    Expression

    • NumberOfProducts

    This expression should contain the number of products when calling "Request store listing".

    • ProductIDAt(i)
    • ProductNameAt(i)
    • ProductLocalizedPriceAt(i)
    • ProductDescriptionAt(i)

    The CocoonInApp plugin does have those features if you want to check it.

    https://github.com/CocoonIO/cocoon-plugins-c2

    I want to loop through the list like in your example API:

    window.iap.requestStoreListing(productIds, function (result){ 
        /* 
        [ 
            { 
                "productId": "sword001", 
                "title": "Sword of Truths", 
                "price": "Formatted price of the item, including its currency sign.", 
                "description": "Very pointy sword. Sword knows if you are lying, so don't lie." 
            }, 
            { 
                "productId": "shield001", 
                "title": "Shield of Peanuts", 
                "price": "Formatted price of the item, including its currency sign.", 
                "description": "A shield made entirely of peanuts." 
            } 
        ] 
        */ 
        //alert(JSON.stringify(result)); 
      
            for (var i = 0 ; i < result.length; ++i){ 
                var p = result[i]; 
                 
                product_info[p["productId"]] = { title: p["title"], price: p["price"] };			 
                 
                alert("productId: "+p["productId"]); 
                alert("title: "+p["title"]); 
                alert("price: "+p["price"]); 
            } 
        }, function (error){ 
            alert("error: "+error); 
        }); 
    }, false); 
    [/code:vbt26syx] 
     
    Thank you!
Jump to:
Active Users
There are 2 visitors browsing this topic (0 users and 2 guests)