FLUTTER ECOSYSTEM

google_api_availability

A Flutter plugin to check the availability of Google Play Services on an Android device.

Latest version
5.0.1
30-day downloads
132K
Likes
105
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Flutter plugin that enables developers to check whether Google Play Services are available on an Android device. It provides a simple API to determine if the required Google APIs are installed, up-to-date, and accessible. This is particularly useful for apps relying on location services, authentication, or other Google Play Services features. The plugin ensures a smoother user experience by allowing graceful handling of missing or outdated services. It integrates seamlessly with Android and is maintained by Baseflow.

Use cases
  • Checking Google Play Services availability before using location features
  • Handling app functionality when Google Play Services are not installed
  • Enabling fallback behavior when services are outdated
  • Improving error handling in apps dependent on Google APIs
  • Ensuring compatibility across different Android devices
Key features
  • Simple API for checking service availability
  • Supports version checks for Google Play Services
  • Returns detailed status codes
  • Lightweight and platform-specific
  • Well-documented and maintained
Suitable for
  • Android-only apps using Google Play Services
  • Apps requiring robust error handling for missing services
  • Developers targeting diverse Android device environments
  • Projects needing reliable service detection at runtime
Considerations
  • Only works on Android devices
  • Does not support iOS
  • Requires proper Android permissions
  • Limited to Google Play Services status
  • Not applicable for non-Google ecosystem devices
Supported platformsAndroid

Install package

flutter pub add google_api_availability

Categories

Dependencies

Dependency list 2 items
  • google_api_availability_android^1.1.0
  • google_api_availability_platform_interface^1.0.1

Related projects