Search packages, repositories and app categories

Package detailsv5.1.0

google_api_availability

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

Android
30-day downloads
150K
Likes
105
Pub points
160

Install package

flutter pub add google_api_availability

Package Overview

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

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

Categories

Dependencies

Dependency list 2 items

  • google_api_availability_android^1.1.0
  • google_api_availability_platform_interface^1.0.1

Projects using this package