radbrothers's Recent Forum Activity

  • cranberrygame

    Paul from XDK team also could not successfully builds and said that one of the added plugins utilizes hooks scripts (cordova-plugin-ad-admob-sdk), which will not work with XDK build system. Probably the same thing happens when we add cordova-plugin-ad-appodeal because this plugin add dependent plugin cordova-plugin-ad-admob-sdk

  • Hi CDogs1964 thank you for help. This is work with cordova-plugin-ad-admob but not with cordova-plugin-ad-appodeal

    I again get fatal error: 'AdColony/AdColony.h' file not found #import <AdColony/AdColony.h>

  • Hi cranberrygame

    Can you help me? I get error in XDK 3522 when i build iOS with cordova-plugin-ad-appodeal or cordova-plugin-ad-admob

    Any help?

    ----------------------------------------------------------

    fatal error: 'AdColony/AdColony.h' file not found

    #import <AdColony/AdColony.h>

    or

    fatal error: 'GoogleMobileAds/GADAdSize.h' file not found

    #import <GoogleMobileAds/GADAdSize.h>

    The following build commands failed:

    CompileC build/hb4.build/Release-iphoneos/hb4.build/Objects-normal/armv7/AdColonyPlugin.o hb4/Plugins/cordova-plugin-ad-adcolony/AdColonyPlugin.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler

    (1 failure)

    Error: Error code 65 for command: xcodebuild with args: -xcconfig,.../cordova_project/platforms/ios/cordova/build-release.xcconfig,-project,hb4.xcodeproj,ARCHS=armv7 arm64,-target,hb4,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=.../cordova_project/platforms/ios/build/device,SHARED_PRECOMPS_DIR=.../cordova_project/platforms/ios/build/sharedpch

  • Hi cranberrygame

    When I building my game with your cordova-plugin-game on XDK 2893 CLI 5.1.1 successful, and all work fine. But now when i upgrade and build on XDK 3522 CLI 5.4.1 or CLI 6.2.0 for android and ios - login don't work and achievements don't show. Any solution?

    Thank you.

    UPD: I found old version of my project with old version of cordova-plugin-game (1.0.118) and cordova-plugin-extras-google-play-services (1.0.3), build with XDK 3522 CLI 6.2.0 and this work fine (login and show achievements) . If update to new version (1.0.120) and (1.0.5) that again not work.

  • Yes of course! It would be cool to have such an opportunity!

  • I also have this problem with cordova exported games

  • Thank you for answer Ashley ! I decided to give up Save&Load and now saved my variabels and array in Local Storage. Now saves no larger than 1 kb on PC and on mobiles.

  • Hi all!

    Ashley

    In my game i use system action - "Save", when player finished level. On all static and another objects i add "No save" behavior. On PC after every save created BAC* and another files and their size ~ +40kb every save game. But when i test my game on android device - i see in app explorer ~ +1MB to game data - every save game. Eventually the size of the stored files get up to 35MB and more game is not saved.

    Why is this happening and how to reduce the size of the android saves?

  • Hi all!

    Ashley

    Why the music unmute only the second time (suspend app-> muted -> resume app->not unmute ->suspend app again ->resume app again->unmute! ), during the transition from the home screen back to the app on ios 9.3? If lock/ulock iphone - mute/unmute work fine. My app made with C2 r227 and XDK without WKwebView

  • Ashley thank you for reply. My app work fine after than i add cordova-plugin-httpd, but I'm not completely sure whether it works correctly. Besides "Use wkwebwiev for ios" and adding httpd plugin, should i add and WKWebView Engine plugin in XDK or not?

  • Hi all!

    I have problem (black screen) with wkwebview and XDK, after a long time to find a solution I turned to Intel and engineers gave this answer:

    -------------------------------------------------------------------------------------------------------

    I'm not sure what is going on in this block of code from c2_runtime.js:

    a.prototype.HF = function() {

    var a = this;

    if (this.Pj)

    this.Gw.startServer({

    port: 0,

    localhost_only: !0

    },

    Pj is true with WKWebView and false with UIWebView, it gets initialized like this:

    this.Pj=!!(this.Eb && this.Md && window.indexedDB);

    window.indexedDB is false with UIWebView.

    Hmm, when I started writing this I didn't look at that line carefully enough.

    Gw is supposed to get initialized as cordova.plugins.CorHttpd:

    this.Pj && (this.Gw = cordova && cordova.plugins && cordova.plugins.CorHttpd ? cordova.plugins.CorHttpd : null);

    It is checking if a plugin is installed: cordova.plugins.CorHttpd:

    https://github.com/floatinghotpot/cordova-httpd

    It looks like construct2 is detecting wkwebview and expecting that plugin to be present with wkwebview.

    I added the plugin to the project and built it again, but it still doesn't work.

    I think it needs the AWS scripts.

    I think he needs to do a few things to get this working with WKWebView:

    1. add the cordova-httpd plugin

    Note that this is not an Intel XDK recommendation; based on my analysis it seems to be a Construct2 requirement.

    He might be able to get more info via Contruct2 docs or support.

    2. direct file XHR requests to the local webserver run by cordova-httpd (the endpoint can be obtained by calling the getURL method of the plugin)

    possibly construct2 may have a way of doing this for the user?

    3. defer loading the aws scripts until after the local webserver has started

    I think I'll stop here as it seems like there are some Contruct2 requirements that we or the user needs to learn more about.

    I guess we could get in touch with Scirra if this customer is important or represents a class of users that we want to support.

    Or if you can find more docs or information about using WKWebView with Construct2, I'd like to read it.

    The only thing I could find was this blog post, which does not provide any integration information:

    https://www.scirra.com/blog/174/boostin ... -wkwebview

    Maybe Scirra's XDK export is not doing everything it needs to in order to allow this to work?

    -------------------------------------------------------------------------------------------------------

    Ashley what you can say about it?

    Thank you.

  • Try Construct 3

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

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

    matrixreal

    I also get black screen with XDK

radbrothers's avatar

radbrothers

Member since 30 Sep, 2015

None one is following radbrothers yet!

Connect with radbrothers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies