Game Center - Offline functionality

The docs state not to call the requests if you are not logged in. I assume this means that if you want to operate offline and still allow the users to “unlock” data, we need to track this and unlock it once they sign back in.

My general idea is to check if they are online. If not, add it to a table. Write the table out to a preferences file on close. On open, and login to game center I unlock those achievements… Seems like a lot of work…

Is this necessary? Or am I just crazy?

-David [import]uid: 27681 topic_id: 20850 reply_id: 320850[/import]

I would track everything Game Center related and store it in a database within the app, whether the user is online or not. Then, once it’s safely stored, you can check the online status and update Game Center accordingly as you suggest.

That may be overkill, but belt and braces and all that! [import]uid: 26769 topic_id: 20850 reply_id: 82215[/import]

Ya, I know this is the first release of GC but I was hoping to avoid that. I wish there were numbers on how many people are using OF and GC in their apps. I think Open Feint is way better as a solution right now with all of their offline handling, etc. However, Game Center is Apple and people with Apple love apple and everything apple does… so I expect to see a lot of people wanting game center… But in the end I’m only using it for Achievements and Leader boards… ahh so annoying…

And I guess I shouldn’t complain about apple and apple people… they have made my company a reality haha… and I’m sort of one of them… .

Ok I’ll stop rambling…
[import]uid: 27681 topic_id: 20850 reply_id: 82252[/import]