iOS InApp Purchases

Previous topic - Next topic

Kitty Hello

I earned my first $0.49 from in app purchases.
Thanks so much!

matchy

Too early to get thirsty?

Kitty Hello

Bobble Heads - the sale was on day 1.

Omadan

Can we say that IAP is working properly now? I intend on using it for my next App.

Thanks Ampos
Top Arcade Apps - Best game for mobiles and computers

http://www.toparcadeapps.com

ampos

Just tested in iOS 5.0 and it works.

Damm, I bought my own app!  :doubt:
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

Kitty Hello

buy your own pushes the sales -> app store ranking ;)

ampos

#36
Additional info:

-iOS InApp purchases has been cracked: you can buy "for free". Although some programs fails, our InApp system is vulnerable: you can buy any InApp purchase.

-We can detect if the iOS has the InApp hack installed: before going to the real InApp function, just try a fake purchase. If it returned "true", the iOS InApp system is hacked. I returned a msg that says "Sorry, InApp purchases can not be processed. Your device is hacked".

-In the last loop, the user has 2 options, PURCHASE and CANCEL. Once he presses PURCHASE, iOS will return to our app PURCHASE SUCESFULL or FAILED. But we can not detect if the user CANCELled it, so our app will be in an infinite loop waiting for the SUSC or FAIL msg. What I am doing is counting mouse clicks (screen touchs) on this loop: if the user cancelled the purchase, he will be waiting for the app to return to main game/loop. As the app it is not returning, he will kick (touch!) the screen saying "hey, what are you waiting for?". If the mouse counter reaches 2 or 3, I assume it was cancelled (also, not tested right now, but I think also that GL apps can not detect screen touchs while a iOS (purchase) window is open.)
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

spacefractal

There was workaround snippet code how to do that to detect those cheaters.

It's proterty got trashed by the backup. Would been nice to update the first post which checking that too.

Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

ampos

#38
The file InApp.mm has been modified by Michael Werren, and it now works with user cancelled purchases.

Also I have modified the GLBasic code to support detection of cracked InApp routines.

NOTE: In iTunes Connect, when you are ready to sent your app to review, on the page where you upload the graphics, at the bottom, there is a paragraph titled "In App purchases". Edit it and enable the InApp purchases that you want Apple's review team to review, or your app will not have InApp purchases availables.
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

spicypixel

Is the code for this in the very first post Ampos or has it been replaced with the backup, just checking to ensure I have everything I need before implementing, thank you :)
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

trucidare

Could anyone add a simple call for write permissions in /tmp - if this works the device is jailbroken
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

ampos

Quote from: spicypixel on 2012-Feb-11
Is the code for this in the very first post Ampos or has it been replaced with the backup, just checking to ensure I have everything I need before implementing, thank you :)

Yes, it has latest & working code and files.

QuoteCould anyone add a simple call for write permissions in /tmp - if this works the device is jailbroken

A Jailbroken device is not a "pirate" device. In fact, JB is great (I have installed on my iPhone a hack to has cards as WebOS)
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

spacefractal

But that could prevent GameCenter cheating and such ting. example I don't want users  to use GameCenter for JailBroken device at all, which is simply just because its too easy to cheat the system Recently you can unlock archivements (as well hiscore) you want. Cheats like that is simply something coword when people does that.

The same for InApp purchases for hacked devices, which of course piracy, so nice that thing can been stopped (until the app got fully cracked of course, even I do some drm thing in my game as well).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Kitty Hello

Quote from: ampos on 2012-Feb-11
A Jailbroken device is not a "pirate" device. In fact, JB is great (I have installed on my iPhone a hack to has cards as WebOS)
Got a link to that extension? Also, how's the battery use after applying this?