Closed benadamstyles closed 10 years ago
Apple's Game Center native code will cache the scores etc and submit when it can (you don't need to account for it in your app code or worry about offline).
You'll notice that if you switch your device to aeroplane mode, you still get signed into Game Center when auth is called.
Oh brilliant! Searched through Apple docs but couldn't find reference to this anywhere. Thanks.
This is a fantastic plugin, and worked first time for me, so thanks for making my life infinitely easier. I'm struggling with handling an offline scenario though - am I right in thinking that neither Game Center nor this plugin automatically handle caching etc. if the device is offline during
auth()
andsubmitScore()
calls?