Im building a react native game app and I want to use game center to log the player in. To be more specific, all I want is the unique id that game center provides for the player. I plan on using firebase to store the information but I want the log in experience to be quick and easy. I do not know objective C so im hoping somebody has figured out how to do this already.
On your iPhone, iPad, or iPod touchOpen Settings. Scroll to Game Center, then tap it. Tap Friends to see a list of users who you're friends with and users who you've recently played with. Swipe left over the user's name to reveal more options.
React Native enables you to write Android and iOS apps using JavaScript. It uses React's virtual DOM concept to manipulate native platform UI components, providing a familiar experience to users. There are two ways to build iOS apps: React Native CLI: More complex but gives you more control over your app.
FOR ALL iOS 10+ USERS: You can sign in and access Game Center details within iOS Settings: Once in Settings scroll down to the section that says "Game Center" and tap on it: If this is your first time accessing Game Center or you have previously signed out, tap on "Sign In", and sign in with your existing Apple ID.
Android users can log in with Facebook and Google Play. Apple users can log in with Facebook, Game Center, or Apple (Only available for iOS 13+).
Here are some links I found, hope this helps!
https://developer.apple.com/game-center/
https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/GameKit_Guide/GameCenterOverview/GameCenterOverview.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With