Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use GameCenter inside a React Native app

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.

like image 253
Philip Speake Avatar asked Feb 17 '16 19:02

Philip Speake


People also ask

How do I use Apple Game Center?

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.

Does Apple accept react native apps?

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.

How do I connect to Game Center iOS?

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.

Can Android users use Game Center?

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+).


1 Answers

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

like image 174
Evan Cowan Avatar answered Sep 29 '22 11:09

Evan Cowan