[Plugins] Construct2&3 Cordova Plugins

  • jay333

    I tested your project and I got same error message as you.

    So I did create new xdk project (Start with a Blank Project), and the build was success

    Did you do "Start with a Blank Project" ?

  • jay333

    I tested your project and I got same error message as you.

    So I did create new xdk project (Start with a Blank Project), and the build was success

    Did you do "Start with a Blank Project" ?

    Thanks cranberrygame for confirming my symptoms. I guess I'm not going crazy... yet. <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink" />

    Yes, I did create a new XDK project and imported from an 'Android' export using your Construct 2 'example_phonegapiap_requires android application license key'.

    I know that you have 4 other Construct 2 Demo Projects. Does it matter which one I use?

    Also, should I use the Construct 2 'Android' export (versus a Phonegap export, etc.)?

    Maybe there's something wrong with my 3rd Party Plugin in Intel XDK that I obtained from your README:

    Again thanks for your time. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" /> Jason

  • jay333

    1.

    I know that you have 4 other Construct 2 Demo Projects. Does it matter which one I use?

    ==> no matter

    2.

    Did you create new xdk projec with "Start with a Blank Project" ?

    3.

    Did you do exactly this url?

    https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.iap#592f332aee5c88909992b36ccc33a1c15bbdd014
    [/code:2x4k9nyl]
    
    4.
    
    Edit:
    
    If not solved by these, try to update xdk to recent version.
  • cranberrygame

    Hi,

    I have a issue with Construct 2 Admob plugin.

    In my game there are 3 Layouts called Menu,Score and Game layout. User can go to score and game layout by pressing related button in menu layout. I need to display Ad always in Menu and Score layout. but in game layout i need to display Ad only when game over. So in my C2 game, i was used bellow logic :

    Menu Layout -> onload Event ->Show Ad banner

    Score Layout -> (No any code related to admob)

    Game Layout -> onload Event -> hide ad

    Game Layout -> gameOverFunction () -> show ad banner

    In my game, It works very well without internet. but when internet is enable i got following issues

    It takes long time to load game (menu layout) about 1-2 minutes.

    cant go to score layout, game freeze

    it takes long time to load game layout and cant restart the game. game freeze for long time.

    So in your experience what can be the problem?

    ps : i built using Intel XDK - crosswork for android, game has two third party plugins called phonegapGame and phonegapFacebookPB, no third party admob plugin (i used C2 admob). tested on Samsung S Advance phone with 4.2 Jelly bean.

    Thank you.

  • tharindutpd

    fix Admob SDK FPS issue: go to my AdMob account and disable text banners, leaving enabled only image banners. (provided by Cipriux)

    Thanks

  • tharindutpd

    fix Admob SDK FPS issue: go to my AdMob account and disable text banners, leaving enabled only image banners. (provided by Cipriux)

    Thanks

    Is it only Admob account setting or am i need to re build the app again?. I changed the account settings to only image banners and (after ~10min) run the same app without rebuild. but the problem is exist as previously.

    ps : C2 Admob setting in test mode

  • tharindutpd

    If only image banner is shown, you must have no issue. (no need to rebuild).

    If the issue still exists, make sample capx which reproduce the issue and send to me.

    Thanks

  • tharindutpd

    If only image banner is shown, you must have no issue. (no need to rebuild).

    If the issue still exists, make sample capx which reproduce the issue and send to me.

    Thanks

    Thank you. It is working now.

    Previously i was used admob plugin already exist in construct 2 Version 184. so now i download and used your cranberrygame_PhonegapAdmob_1.0.67 plugin. it working well. it has new preload function too. thanks. i think Ashley need to fix and update c2 admob with your new functions . Thanks

  • Hi cranberrygame

    Apologies for the delay in response, I only tested this week, in IOS devices the images are deleted when all apps are closed , your idea to upload the images to a server is excellent, but I need it works offine.

    By the way, I bought your plugin package, the 'Close plugin' does not work with phonegap build?

    Thank you for your attention

  • tharindutpd

    Can you reproduce and provide me the sample capx which cause problem in r184 official admob plugin?

    iriane

    I'll investigate more about storing camera image to local device and I'll let you konw if I find the solution.

    Will you plan to use Phonegap Close on phonegap build service android?

    Did you have solution to monetise on phonegap build service android?

    If so, I can upload the native plugin to the phonegap build.

    Thanks

  • jay333

    1.

    I know that you have 4 other Construct 2 Demo Projects. Does it matter which one I use?

    ==> no matter Thanks :)

    2.

    Did you create new xdk projec with "Start with a Blank Project" ? Yes, and then imported from Construct 2 'Android' Export .

    3.

    Did you do exactly this url?

    https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.iap#592f332aee5c88909992b36ccc33a1c15bbdd014
    [/code:2xuowdw5]  Yep :)
    4.
    
    Edit:
    
    If not solved by these, try to update xdk to recent version.  Just upgraded from ver 1332 to 1494, and received the same [u]Build Error: 'Unable to build. Please verify that you are connected to the internet and try again. Object reference not set to an instance of an object.[/u]'.  It shouldn't be an internet error since I am still able to build another project right after.
    

    To not take up your time much longer, perhaps is there a 'working' XDK project folder (zipped) that I can look at to compare 'xdk' files, etc?

    I assume I'm the only one with this build problem using the IAP-Plugin with Crosswalk for Android?

    Btw, I just came back from the HTML5 Dev Conference at San Francisco, and I just met the Intel XDK Management/Engineers at their booth. They were impressed by my students' project on Google Play: https://play.google.com/store/apps/details?id=org.EncourageAndEmpower.IttyBittyJrAtMutantMadness (resending the link since it failed last time). Looking forward to any constructive feedback for our game-app as well as this IAP troubleshooting. :)

    Again thanks for your time and patience. :) Jason

  • Try Construct 3

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

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

    I imported your project you provided.

    And removed iap plugin in the Third-Party Plugins.

    Sitll got error message (Internet connection...)

    Your project's html directory structure is weired.

    htmls must exist in www folder as below.

    https://dl.dropboxusercontent.com/u/186 ... 091140.png

    Please when create xdk project, only copy c2 expoerted htmls to www folder.

    Cheer up and Try it

    Thanks

  • cranberrygame

    For the dialog plugin. I think there is a problem. If the dialog is displayed(Confirm type "Yes" "No") and I press the back button, the dialog will be closed but nothing is triggered. Is it possible that when the dialog is displayed or shown if the user press back button, the "No" condition will be triggered ? Or at least a "dialog closed" is triggered ?

  • tumira

    Now Dialog triggers "On confirm No clicked" event when back button.

    And added Prompt action feature (get message from user)

    Download the plugin again. (Native plugin url was also changed)

    Thanks for your suggestion.

  • cranberrygame

    Thanks. It is working now.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)