0.0.13 • Published 5 years ago
capacitor-game-services v0.0.13
Required
- Google Developer Account
- Apple Developer Account
Setting up Google Play Services
- Go to Google Play Console.
- Click New Game button and fill out name and category fields.
- Click Linked apps tab in side menu, and click the Android button.
- Enter your appId, should be found in your capacitor.config.json file.
- Click Save and Continue, then click "authorize your app now" button.
- Enter your sha-1 and confirm
- Add manifest configuration TODO: add to plugin instead?
- Go to testing tab and add test account.
- Go to leaderboards and add a leaderboard, copying the id value.
- Add the plugin to main activity after running npx cap sync
Setting up Apple Game Services
- Click on target app in xcode
- Add team to signing and capabilities
- Add game center capability
- https://appstoreconnect.apple.com/
- add app, probably should use bundle id as sku
- go to features, add leaderboard matching the generated id from google