Google Play Services


Google Play Services is a proprietary background service and API package for Android devices from Google. 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.

Services

Google Play Game Services can be used by application developers to allow a competitive and social experience through the use of leaderboards, achievements and multiplayer sessions. Saved Games API is available to sync game saves on Google's cloud infrastructure. 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.
The Google+ platform provides single sign-on, authenticating the user inside applications using current credentials. 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. 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. 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.
Google Mobile Ads integrate advertisements into applications, allowing monetization by targeting ads based on factors such as user location. Google Wallet Instant Buy allows purchases of services and goods via Google Wallet. Other APIs include the Google Fit API, account authentication methods and Google Analytics.
Google Play Services is used by almost all Google apps that have system-level powers. All major Android services are controlled by Google Play Services. Without this, apps may not work properly.
Google Play Protect is a unification of Android security systems. In 2019, the company announced that the software was scanning 50 million apps per day. 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 include: ESET, Lookout and Zimperium.

Adoption

Google Play Services is automatically updated through Google Play on devices with that application installed on Android 4.1 or newer. This means Google can deliver updates without manufacturers having to update the Android firmware, working around the fragmentation of the platform for which it had become infamous.

Concerns

The Android Open Source Project 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 function only when Google Play Services are available.
Distributing Google Play Services as a part of the Google apps package requires a license from Google, which often results in a contractual agreement locking the manufacturer into Android. Other 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.