gizmodude4's Forum Posts

  • After investigating, my plugin works for both Android and iOS just fine. The only portion needed to update is the plugin for the project (https://github.com/phonegap-build/PushPlugin).

  • Hey...here is ios version

    already can use(on ios7,8 pass)

    will you update your plugin for android+ios?

    I'll take a look at it tomorrow. I was under the impression my plugin worked for iOS? Did they update and break my plugin?

  • gizmodude4

    Hi gizmo

    Im new to getting push notifications up and running.

    I've searched a lot on the web, but cant find exactly what it is i need to do from start to finish.

    Im using the build.phonegap.com service as scirra recommends, and i added your plugin to construct2.

    In my project i have set: when start of layout --> register a push notification client.

    But from there i truly dont know what to do...

    All i find on the web is info on how to when not using c2.

    Could u help?

    Would be truly great!

    Kind Regards.

    Savvy001

    I have no idea how to use it with Phonegap Build. This plugin only works for Phonegap CLI or Cordova CLI, sorry

  • fongka2 The plugin does support iOS

  • Does the notification work even without an internet connection on your phone?

    No, these are just push notifications from either Google's or Apple's servers, so internet connection is required. If you need notifications without an internet connection, look in to local push notifications. I think cranberrygame has a plugin for that

  • Hey cranberrygame just a quick question, does your IAP plugin work with iOS yet? I've tried it on my iPod touch and keep seeing debug messages pop up and the documentation makes it sound like it's close, so I was wondering if it was nearing completion? If you need any help testing it, I can try to help

  • It'd be really nice if we could set the tab stop for certain items. Currently, if I have to add in a new item that's not at the bottom of the page, I've got to reorder/rename everything to make it make sense

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the IAP update, Ashley! I'll be testing it soon, but in order to do that, I'll also need a "consume product" action for consumables. My use case for this is purchasing in-game currency, so they player should be able to buy as many of one item as they want. In order to do that (at least on Android, not sure about iOS), the product has to be consumed before purchasing again.

    Very excited about getting this feature complete for both platforms so I can do a full release soon

  • I'm using the official AdMob plugin and noticed it's lacking an expression to return the size of the banner ad it served. Normally, this wouldn't be a problem since most types of banner ads are static sizes, but with smart banners, it can vary. Is there any way to determine this mathematically? Or maybe a worse case scenario? Google says the tallest smart banner should be 90px, but I'm seeing some at 150px.

    Any ideas or hope of an enhancement?

  • I just had a few quick questions about IAP. When do you have iOS integration planned? Also, are you writing your own plugin or using a third party one like this?

    https://github.com/j3k0/PhoneGap-InAppPurchase-iOS

  • I found it here:

    I probably should have known better than to download a two year old plugin

  • If anyone else is having this problem, it was due to me downloading a replacement for the standard textbox. Each new installation will wipe out any customizations to the standard plugins with Construct 2 (rightfully so) and that makes conflicts like this happen. After switching over to advanced textbox instead of a hacked textbox, everything works now

  • Problem Description

    I tried upgrading to the r180 beta and got this message when I tried to open a project I've had in r178: "The project you are opening uses a newer version of Text box 1.1 (installed plugin is version" After I press okay to load it anyway, I got a "Cannot find condition by ID" error, so it won't open. I tried downgrading to r178, but the error is still here. I have the advanced textbox plugin installed, so I'm not sure if that's a culprit or not. Any ideas? My project is currently in .caproj form.

    Attach a Capx

    I can't upload a Capx because I can't open my project

    Description of Capx

    It's a drawing game that utilizes textboxes for user input

    Steps to Reproduce Bug

    Not quite sure, but probably something like this?

    • Install advanced textbox plugin on r178 and create a project using the On Focus Gained condition
    • Upgrade to r180

    Observed Result

    Will not open due to downgraded Textbox plugin

    Expected Result

    The project opens

    Affected Browsers

    N/A

    Operating System and Service Pack

    Windows 7 64 bit

    Construct 2 Version ID

    r178/r180

  • I know it's kind of a no no to post a question without a capx, but my game is pretty huge and requires an account to test out, so before I start stripping out web services (which may the problem?) I figured I'd just ask first.

    I'm encountering a very strange bug on iOS using Phonegap with my game on r178. I'm using Touch for everything and have gotten to the point where I've put the Touch.X and Touch.Y on most screens just to validate that I'm doing everything correctly. Occasionally, the X and Y variables stop updating completely. I can keep touching buttons/sprites in my game just fine, but I need the X/Y coordinates to for drawing on the Canvas (the core game mechanic).

    The updating stops occasionally and only when transitioning from one layout to another. Between these layout transitions, I took out any actions doing anything with third party plugins and am just setting a few variables and starting/stopping audio. Once the next layout loads, I have an AJAX call to pull some data along with an appropriate On Ajax Complete action. I have no On Ajax Failed conditions.

    Has anyone experienced this or anything like this? If I can get some guidance on what may make the Touch feature not update its X and Y, I can do some digging in the Javascript and see if I can come up with an explanation. If a capx is needed, let me know and I'll throw something together, but it won't be recreating what I currently have. Thanks!

  • Another fun update:

    I removed all the textboxes, Facebook plugin, and Phonegap plugins from my game to export with CocooonJS. After loading it on the phone, I'm seeing it's still taking up 64 MB. Yikes. Though there's definitely something up with Cordova, I'm going to be looking at reducing the memory usage in my game as much as possible. I think my music may be too big. It's also being stored in two different file formats, so that's not helping, I'm sure.