Google Play Services is a proprietary software package produced by Google for installation on Android devices. It consists of background services and libraries for use by mobile apps running on the device.[7] When it was introduced in 2012, it provided access to the Google+ APIs and OAuth 2.0. It expanded to cover a variety of Google services, allowing applications to communicate with the services through common means.[8][9]
The package's services include location tracking and geofencing, single sign-on account services, user health and fitness tracking, payment processing, integrated advertising, and security scanning. Many apps on Android devices depend on the use of Google Play Services, and the package requires the user to use a Google Account and agree to Google's terms of service. Distributing Google Play Services on an Android device requires a license from Google, which contractually prohibits device producers from producing Android devices that are incompatible with Google's Android specifications.
Services
Google Play Game Services[10] can be used by application developers to allow a competitive and social experience through the use of leaderboards, achievements, and multiplayer sessions.[11] Saved Games API is available to syncgame saves on Google's cloud infrastructure.[12] Location APIs provide specifications about the location technologies, providing geofencing APIs for scheduling specific actions when the user enters or leaves specific geographic boundaries, Fused Location Provider acquires location information such as reduced power usage and activity recognition for allowing applications to adapt to the current action of the user (e.g. cycling, walking, etc.).[10]
The Google Sign-in Android API provides single sign-on, authenticating the user inside applications using Google Account credentials.[13] The Google Maps Android API allows applications to include Google Maps or Street View without the need to open a separate application, allowing full control over the camera and providing a means of adding custom markers and map overlays.[14] The Google Drive Android API allows Google Drive to be used as a storage structure, providing lookup and syncing of documents along with other file manipulation tools.[15] The Google Cast Android API adds casting functionality to allow Android applications to display content on TVs using Google Cast, additionally providing various helpers for common audio, video, and image types.[16]
Google Mobile Ads integrates advertisements into applications, allowing monetization by targeting ads based on factors such as user location.[17] The Google Pay API allows purchases of services and goods via Google Pay.[18] Other APIs include the Google Fit API, account authentication methods, and Google Analytics.[8]
Google Play Services is used by almost all Google apps that have system-level powers.[19] All major Android services are controlled by Google Play Services, and many third-party apps also depend on it. Without this and its requirement to log in with a Google Account, apps may not work properly.[20][better source needed]
Google Play Protect is a unification of Android security systems.[21][22][23] In 2019, the company announced that the software was scanning 50 million apps per day.[24] On November 6, 2019, Google announced the App Defense Alliance. Partners can request Google Play Protect to analyze an app. Results are sent to the partner and Google Play Protect receives results from partners. As of November, 2019, partners of the App Defense Alliance included ESET, Lookout and Zimperium.[25][26] In October 2023, Google announced that Play Protect would scan sideloaded apps for malware at install time.[27]
Adoption
Google Play Services is automatically updated through Google Play on devices with Android 6.0 or newer.[7] This means Google can deliver updates without manufacturers having to update the Android firmware, working around the fragmentation of the platform that has become infamous for Android products.[19][28]
Concerns
The Android Open Source Project (AOSP) was announced in 2007, and functioned as the baseline system for all OEMs and firmware modifications such as CyanogenMod and LineageOS. Various AOSP apps were transferred to Google Play with a closed-source model. Many apps (such as Lyft, Uber, and many of the Google apps like Gmail and YouTube) function only when the Google Play Services package is available and enabled.[19]
Distributing Google Play Services as a part of the Google apps package requires a license from Google, which contractually prohibits device producers from producing Android devices that are incompatible with Google's Android specifications. Others who are interested in modifying the Android system are required to either opt-out of Google Play Services or to obtain the Google apps package from either a device that has them pre-installed or an unofficial source.[19][28]