Google Play Games Achievements Development

TRUETECH is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Google Play Games Achievements Development
Simple
~2-3 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1052
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Google Play Games Achievements System Development

Google Play Games Services provides ready infrastructure for achievements, leaderboards, and cloud saves. Achievements are probably the simplest integration in this stack: Google handles storage, UI, and sync between devices.

Setup in Play Console

Before writing code—setup in Google Play Console → Play Games Services → Setup and Management. Achievements are created there with IDs, icons, descriptions, and types (standard or incremental with step count). Achievement IDs look like CgkI...—Base64 strings to copy to res/values/games_ids.xml via "Get resources" button in Console.

App links to Play Games via OAuth. AndroidManifest.xml needs <meta-data> with com.google.android.gms.games.APP_ID.

Achievement Unlock Code

Dependency: com.google.android.gms:play-services-games-v2:19.0.0 (Play Games SDK v2, current version without legacy PendingResult API).

val gamesSignInClient = PlayGames.getGamesSignInClient(activity)
gamesSignInClient.signIn().addOnCompleteListener { task ->
    if (task.isSuccessful) {
        val achievementsClient = PlayGames.getAchievementsClient(activity)
        // Unlock achievement
        achievementsClient.unlock(getString(R.string.achievement_first_win))
        // Incremental achievement (steps)
        achievementsClient.increment(getString(R.string.achievement_veteran), 1)
    }
}

unlock() can be called multiple times—re-unlocking already-completed achievement is ignored. increment() for incremental achievements adds steps; when enough accumulate—achievement unlocks automatically.

Show standard achievement UI:

achievementsClient.achievementsIntent.addOnSuccessListener { intent ->
    startActivityForResult(intent, RC_ACHIEVEMENT_UI)
}

Google displays a nice list with progress and icons—no need to write custom UI.

What to Consider

SDK v2 requires user to be authorized via Play Games before any calls. If not authorized—achievements don't count. Need logic: attempt automatic login on startup, graceful degradation if Play Games unavailable (absent on some devices without Google Services).

Testing: in Play Console you can reset achievements for test account via "Reset achievements". Without this, re-testing unlock is impossible.

Setting up achievement system with 5–15 achievements: 2–3 days including Play Console setup, SDK integration, and testing. Cost is calculated individually.