robovm-ios-bindings icon indicating copy to clipboard operation
robovm-ios-bindings copied to clipboard

GameCenter binding does now compile with RoboVM 1.9

Open titovmaxim opened this issue 9 years ago • 4 comments

The app does not compile since update to RoboVM 1.9. The reason is that the following methods are missing: GKLocalPlayer.getLocalPlayer().authenticate GKLeaderboard.loadCategories

titovmaxim avatar Nov 06 '15 04:11 titovmaxim

Some methods have been deprecated in iOS9. If you don't need to support iOS 6.0, you can just get rid of the conditionals in GameCenterManager for dealing with iOS 6 specific case.

obigu avatar Nov 06 '15 04:11 obigu

@obigu thanks, it is clear. But what if one need support of iOS 6.0? Or it is generally deprecated now and such support is not needed?

titovmaxim avatar Nov 06 '15 04:11 titovmaxim

That's up to you really. In my opinion it's not worth it but you can always handle it and display a message that Game Center is not supported for these specific devices. Apple, unlike Google for instance, has a strategy of deprecating and not making it easy for developers to give support to old OS versions to push everybody to always be using the latest versions and it kinda works as old iOS market share is quite small. It's something Apple customers know and easiest thing is to just follow. It's very reasonable to set minimum OS supported version to 7 nowadays.

obigu avatar Nov 06 '15 12:11 obigu

@obigu thanks again. Of course I have adapted the binding to work for iOS >= 6. So I have no problems with it. The original issue is quite simple - the binding can not be complied under RoboVM 1.9. Disregarding compatibility. May be it is better to update the binding? That's all.

titovmaxim avatar Nov 06 '15 17:11 titovmaxim