annauva's Forum Posts

  • I'm trying to show the IAP product price, but it just shows "text" when I try it.

    I have a textbox and the code is:

    CordovaIAP -On request listing succeeded --- textbox - set text to "CordovaIAP.ProductPrice("productID")

    (but I have of course the real product ID in my code)

  • I have a facebook button with goto url and the address to my facebook page, but when I touch it in my app, nothing happends. If i write just the facebook.com address, it works, but when I use the whole address with my page ID, nothing.

    Of course it would be awesome if it could open in the facebook app, but that's super complicated, right?

    But I can't even get the link to work in the browser from my app, has anyone managed to do this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The whole screen actually turns black for a second, when I push the button and the plugin captures the canvas. It's so weird! And I can't find anyone that has the same problem when I google it.

  • Oh, and I use XDK to make the build, if that matters. No one got any idea?

  • I'm using the Cordova Canvas2image plugin to take snapshots of the canvas and downloading an image. It works great when I try an android build, but on iOS it just saves a black image. Any ideas on why that could be?

  • THANK YOU! I had to turn the permission on for the app in settings.. I guess when people download it from the app store, it will be automatic with the permissions? Anyway thank you SO much for helping me!

  • Nevermind my last post, the cordova in app browser is in the plugin manager in XDK on my project, so I don't know why nothing is working

  • Do I need that plugin "Cordova In app browser" maybe, for my app to do the snapshot?

  • I can't open the capx file because it uses plugins that I don't have it says.

    And when I run your app in my phone and press the buttons, it says "No permissions to write, Abort" and "screencapture failed with cordova plugin".

    Soo,, there's something strange going on here

  • I used the "on save screen capture failed" action to have it make a small box appear and it does, so it tries and fails apparently.

    When I export I check the "uses media" permission, and in XDK I've also added WRITE_EXTERNAL_STORAGE in the build settings. Are there any more things I have to do maybe?

  • I still can't get it to work, I'm going crazy soon!

    I've installed the Screen shot plugin, added an event in construct and when I make a build and try in on my android the game just freezes for a few seconds and then goes back to normal. No image saved I've tried to add permissions but that doesn't help either. I don't get what I could be doing wrong!

  • I will try that, thank you!

  • Hmm no I can't get it to work in the app. Nothing happends when I tap the button. It works in the web browser on the computer but not when I have exported it as an app. I really need this to work, anyone got any idea?

  • I know about memory usage, but since it works so well over LAN when I preview, I don't think it should be a problem. And phones and ipads have so much memory now also.

    Is the preview over LAN not at all the same thing as "the real thing"?

    The debugger just crashes immediately when the app starts, so that doesn't tell me much.. :/

  • I've built a dress up game with lots of images, the whole game is in one layout, no animations or anything, only drag and drop stuff on to a girl. It works great when I try it over LAN on my phone and ipad. But when I export it and use XDK, it crashes on startup when I use app preview on my mobile.

    It's like it can't handle all the images. I tried and deleted more than half of the content, and then it works, so it seems like it's too many images for it to handle.

    But I think it's strange since it works over LAN, right?

    Any suggestions on how I can solve this?

    The whole game is based on having lots of clothes and stuff to use so I don't want to delete everything, then it's no point in the game anymore