NASA Proceeds to Mars

    @openforge/capacitor-game-services
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.6 • Public • Published

    Official Website | Opportunities | Facebook

    Leading By Example.

    Working with the latest technologies, designing the best products, and sharing our knowledge with the world wide community.

    Required

    1. Google Developer Account
    2. Apple Developer Account

    Setting up Google Play Services

    1. Go to Google Play Console.
    2. Click New Game button and fill out name and category fields.
    3. Click Linked apps tab in side menu, and click the Android button.
    4. Enter your appId, should be found in your capacitor.config.json file.
    5. Click Save and Continue, then click "authorize your app now" button.
    6. Enter your sha-1 and confirm
    7. In your native android project, add your app id string to your strings xml file.
      • your strings xml file can be found in android/app/src/main/res/values/strings.xml
    8. Go to testing tab and add test account.
    9. Add the plugin to main activity after running npx cap sync

    Setting up Apple Game Services

    1. Click on target app in xcode
    2. Add team to signing and capabilities
    3. Add game center capability
    4. Go to your apps in https://appstoreconnect.apple.com/ and add your application
    5. go to features, add leaderboard matching the generated id from google

    Adding Leaderboards and Achievements

    When adding resouces to Google and Apple services, we would recommend you add resources to Google's Play Services first, and reuse the id values generated for resources in Apple's Game Center service. That way you wont need two sets of resource id's.

    Install

    npm i @openforge/capacitor-game-services

    DownloadsWeekly Downloads

    10

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    257 kB

    Total Files

    81

    Last publish

    Collaborators

    • fredyvzq29
    • guillermobg
    • gerardoregalado24
    • jedihacks
    • fdom
    • paulinagallo
    • ricardomadrid
    • emmanuelof
    • nachoof
    • charles.ruiz