h1k3's Recent Forum Activity

  • Problem Description

    With the new Phonegap builds, all Ajax traffic is blocked in my app.

    Attach a Capx

    Any ajax call in the new phonegap build will fail.

    Description of Capx

    None included

    Steps to Reproduce Bug

    • Mke an ajax call

    Observed Result

    Ajax fails to trigger on fail or on success.

    Expected Result

    Ajax success or fail.

    Affected Browsers

    • Chrome:NO
    • FireFox: NO
    • Internet Explorer: NO

    Operating System and Service Pack

    Windows 10

    Construct 2 Version ID

    release 216 64 bit

    In order to fix it I needed to add the whitelist plugin by adding the following to my config.xml file. Can you look into including this by default?

    <gap:plugin name="cordova-plugin-whitelist" source="npm" />

    <plugin name="cordova-plugin-whitelist" spec="1" />

    <allow-navigation href="*" />

  • In the edittime you declared the js library as a dependany. That will load the js file into the application. So remove the items within the runtime that create the script tag. I think all that is what is messing you up. The expression you created returns a bunch of text. Not sure what pf.grid does but unless it returns a bunch of text, you might generate another error.

  • Thanks but I found a different solution. The canvas plugin allows you to snapshot just a part of th construct 2 canvas. So I loaded my images into a "holder" Sprite off th visible screen while keeping the original size of the image. I then center my canvas plugin object over the holder Sprite and take a snapshot of just the center portion. Finally I load the base64 string from the canvas into the "thumbnail" Sprite already perfectly centered and clipped. I lose some in this process but it avoids having empty space and squishing.

  • Hi everyone, I'm having a heck of a time finding a solution to this one. If I have a sprite that needs to always stay the same but I have images that might be different sizes than the sprite. How do I resize the image so that it decreases in size until it fits into the sprite?

  • Weird, I used my computer console to generate the authentication file for my apk. Your saying I can do this via Google as well? Are there any perks to using Google to create the key file?

  • I no longer sell the plugin. If you purchased a plugin and need support or if you wish to add facebook functionality to your app feel free to send me a message at

  • There wasn't a whole lot of interest in the plugins so I'm not actively selling them anymore. Getting the access toon is fairly easy by adjusting a few things in the official plugin. If you want Facebook plugins I have drop me a message on Facebook at Facebook.com/hikenh.

  • It is rather a pain to have to manually fix the config file. Hoping the next beta pushes a quick fix for this.

  • Problem Description

    Yesterday, build.phonegap.com update their version to 5.x. Now any uploaded zipfile to build.phonegap.com fails. A current workaround is

    So, what we did was to specifically force the phonegap version 3.7.0:

    <preference name="phonegap-version" value="3.7.0" />

    The error message on the build site says that you need to upgrade the inappbrowser.java file.

    Attach a Capx

    Any exported capx will do.

    Description of Capx

    Uploading any capx including a blank one seems to fail.

    Steps to Reproduce Bug

    • Export via cordova
    • zip the exported directory and upload to build.phonegap.com
    • Press the update/rebuild button.

    Observed Result

    The zipped file fails to translate into an apk file.

    Expected Result

    The zip file would translate into an apk file.

    Affected Browsers

      [YES] Chrome: (YES/NO) [YES] FireFox: (YES/NO) [YES] Internet Explorer: (YES/NO)

    Operating System and Service Pack

    Windows 10

    Construct 2 Version ID

    Release 214 (64 bit) checked

  • I dont use that plugin, i dont think. Im new to phonegap. I dont have a clue how to fix it.

  • Up until today I have been able to export via cordova and upload a zipped copy of my export directory into build.phonegap.com. From there I would upload and rebuild the app in order to get a new .apk file. Today it appears like they update their build.phonegap.com system to a new version now I can't rebuild anything that worked yesterday. I even removed all plugins related to phonegap and still have the issue. Is there a switch somewhere that I can reset the compiler on build.phonegap.com to the version it used yesterday or will I need to wait for Ashley and the team to push an update for Phonegap export?

    Here's the error. Maybe it'll make sense to someone else:

    Error - Some official plugins have to be updated if using PhoneGap >= 4.0.0. Please upgrade the version of any plugins that may include the following file: InAppBrowser.java - You can fix this here

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Short answer is you cannot embed Facebook via Construct 2 the way it is. You would need to have someone code the page plugin in order to add a facebook page to a Construct 2 app. Info for the developer can be found at https://developers.facebook.com/docs/pl ... ge-plugin/

h1k3's avatar

h1k3

Member since 1 Apr, 2012

Twitter
h1k3 has 3 followers

Connect with h1k3

Trophy Case

  • 12-Year Club
  • x5
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies