Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GameCenter binding does now compile with RoboVM 1.9 #185

Open
titovmaxim opened this issue Nov 6, 2015 · 4 comments
Open

GameCenter binding does now compile with RoboVM 1.9 #185

titovmaxim opened this issue Nov 6, 2015 · 4 comments

Comments

@titovmaxim
Copy link

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

@obigu
Copy link

obigu commented Nov 6, 2015

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.

@titovmaxim
Copy link
Author

@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?

@obigu
Copy link

obigu commented Nov 6, 2015

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.

@titovmaxim
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants