Windows phone C2 IAP compatability

Discussion and feedback on Construct 2

Post » Sun Aug 31, 2014 9:12 pm

Hi guys,

I have game that will support iOS, Android, Windows phone, Blackberry, Tizen and HTML5. So far I have it working for iOS, Android and HTML5. Windows phone is the next thing on my list. However, I found that the C2 IAP seems to always return true for thing like 'has product' and 'product purchased successfully'. This is despite having a 'not windows app' condition. So what I find is that my upgrade to full version IAP is always fired.

FYI I know that you dont use C2's IAP for windows phone and I do use the windows object, but when making a game that supports multiple platforms its a pain to disable specific bits of code based on the platform.

I also found the browser events 'on suspend' and 'on resume' also don't seem to fire.

Of course I could be completely wrong since I am using the emulator test at the moment. So my question to you is have any of you experienced these difficulties for windows phone?
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Mon Sep 01, 2014 2:17 pm

You can and should use the C2 IAP object on Windows Phone 8.1+. On Windows Phone 8.0 IAP is not officially supported, although there are third party plugins that support it. Also check you've got test mode set correctly.

If you think the browser object triggers are not firing correctly then please file a bug report following all the guidelines or it will not be investigated.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,250

Post » Mon Sep 01, 2014 3:48 pm

@Ashley

Thanks for the quick response. I spent a couple of hours recreating a simplified test capx (attached) this morning, but didn't have the same problem. Looks fine. However, in my game I have a monetisation event sheet which I include into other event sheets that need the functionality. So if there is a bug it probably has a more complex cause. So needs more research.

I will also make a simplified test capx for 'on resume' and 'on suspend'. I'll let you know the results via bug report or here if I can't find anything.
You do not have the required permissions to view the files attached to this post.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542


Return to Construct 2 General

Who is online

Users browsing this forum: Brendan2007, zenox98 and 6 guests