HaxeExtension / extension-googleplaygames

OpenFL extension for Google Play Games / Android
Other
53 stars 17 forks source link

Any chance to support iOs? #25

Open xmorpher opened 8 years ago

xmorpher commented 8 years ago

The GooglePlayServices lib is compatible with iOs, any chance to support iOs in this extension someday in the future?

(Thanks for the extension!)

fbricker commented 8 years ago

Hi, we never added support for iOS on this extension since on iOS we use GameCenter. If you do find GooglePlayGames to be useful on iOS, you can use the pure haxe implemented GPGREST (https://github.com/SempaiGames/extension-gpgrest)

This provides google play games on every platform by using the rest APIs of Google Play Games.

I understand that it's not the same as the native for iOS, but we don't have time right now to implement the native iOS version of this extension. If someone has the time and wants to send a pull request will be much appreciated.

PS: We never saw the need to port this to iOS, as we understand that not many people uses GooglePlayGames on iOS. Do you know if this has changed now? Does GPG has a good userbase on iOS?

xmorpher commented 8 years ago

Than can be true (not many iOs users use google play services)... We think this: “There are a lot of people who own and play games on Android devices. There are a lot of people who own and play games on iOs devices." ... “Our goal is to enable everyone to play with who they want and not just with people who own a certain type of device. ” source: http://venturebeat.com/2013/05/15/why-google-play-game-services-works-on-ios/ But is hard to change people's behaviour... maybe it's easier to just implement GameCircle on iOs ._. Thanks anyway!

other articles about this topic: http://knowyourmobile.com/google/20236/google-play-games-services-ios-developers-perspective http://www.zdnet.com/pictures/use-google-services-your-iphone-may-work-better-than-an-android-device/ http://www.theverge.com/2014/3/17/5517508/google-play-game-services-cross-platform-gaming-ios

fbricker commented 8 years ago

I understand... We're not close to the idea of this extension working on iOS, but I'm not sure about how many iOS users actually uses GooglePlayGames. I don't know why, but I guess it has something to do with a low experience; that you don't have automatic login; and the fact that if you don't have a google account you're out (you can create a google account for this, but you'll end-up playing alone, since the new account won't have your friend-list).

On our experience, Google Play Games & Game Center helps you get Achievements and Global Leaderboards, but when you really want social interaction and multiplayer games, you need to focus on Facebook.

The only useful thing we got from google play games on iOS, is the ability to give the user another way of login and seaching for some more friends, but you can do so by using https://github.com/SempaiGames/extension-gpgrest

flashultra commented 8 years ago

Is it possible to use Google sign in api similar to Facebook Login api ? For flash we used https://github.com/DaVikingCode/GooglePlus-ANE , but there is not similar api for Haxe

fbricker commented 8 years ago

Hi, we're currently working on the iOS version of this extension. We're not sure about the release date yet, but meanwhile you can have G+ login on any platform using this extension: https://github.com/SempaiGames/extension-gpgrest