Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Game Development

Reply
 
LinkBack Thread Tools Display Modes
Old 12-09-2011, 02:22 PM   #1 (permalink)
Registered Member
 
headkaze's Avatar
 
Join Date: Feb 2010
Posts: 359
headkaze is on a distinguished road
Default Keeping track of consumable in-app purchases

I am writing a game where you will be able to purchase "chips" to buy stuff ingame. The problem is with consumables how do people keep track of what they have bought? For example if they purchase x amount of chips and then buy item y how can this be syncronised across all iDevices running my app so they all have item y?

I would really prefer not to have to hire or purchase a server to keep track of this information. Can Apple do this for me? Is it part of the in-app purchase API? What about using GameCentre or OpenFeint?

There must be a cost effective and simpler way to do this. Any advice would be appreciated.
__________________
Headsoft | Jungool
headkaze is offline   Reply With Quote
Old 12-09-2011, 03:37 PM   #2 (permalink)
Registered Member
 
Join Date: Dec 2011
Posts: 17
jdunehew is on a distinguished road
Default

Quote:
Originally Posted by headkaze View Post
I am writing a game where you will be able to purchase "chips" to buy stuff ingame. The problem is with consumables how do people keep track of what they have bought? For example if they purchase x amount of chips and then buy item y how can this be syncronised across all iDevices running my app so they all have item y?

I would really prefer not to have to hire or purchase a server to keep track of this information. Can Apple do this for me? Is it part of the in-app purchase API? What about using GameCentre or OpenFeint?

There must be a cost effective and simpler way to do this. Any advice would be appreciated.
Just a local database could easily keep track of purchases every time they do it. As long as you update the database whenever you call that method that does the purchase. No server required.
jdunehew is offline   Reply With Quote
Old 12-10-2011, 01:33 AM   #3 (permalink)
Registered Member
 
headkaze's Avatar
 
Join Date: Feb 2010
Posts: 359
headkaze is on a distinguished road
Default

Quote:
Originally Posted by jdunehew View Post
Just a local database could easily keep track of purchases every time they do it. As long as you update the database whenever you call that method that does the purchase. No server required.
How does that syncronise the purchase across multiple iDevices?

What happens if the game is deleted and re-installed?
__________________
Headsoft | Jungool
headkaze is offline   Reply With Quote
Old 03-23-2012, 02:59 AM   #4 (permalink)
Registered Member
 
Join Date: Nov 2010
Location: Italy
Posts: 21
sigluca is on a distinguished road
Default

Quote:
Originally Posted by headkaze View Post
How does that syncronise the purchase across multiple iDevices?

What happens if the game is deleted and re-installed?
I think iCloud could be a solution. Alas, i don't know how exactly it works...
sigluca is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 379
9 members and 370 guests
apatsufas, comicool, Creativ, Dalia, dansparrow, LunarMoon, mer10, Murphy, pbart
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,676
Threads: 94,127
Posts: 402,916
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jleannex55
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:02 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0