All Projects → Baseflow → flutter-google-api-availability

Baseflow / flutter-google-api-availability

Licence: MIT license
Check the availability of Google Play services on the current device

Programming Languages

dart
5743 projects
ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to flutter-google-api-availability

flutter displaymode
A Flutter plugin to set display mode in Android
Stars: ✭ 118 (+353.85%)
Mutual labels:  flutter-plugin
flutter gesture password
flutter_gesture_password
Stars: ✭ 77 (+196.15%)
Mutual labels:  flutter-plugin
Xamarin-Sidebar
A slideout navigation control for Xamarin.iOS
Stars: ✭ 113 (+334.62%)
Mutual labels:  baseflow
simple gesture detector
Easy to use, reliable and lightweight gesture detector for Flutter apps, exposing simple API for basic gestures
Stars: ✭ 26 (+0%)
Mutual labels:  flutter-plugin
link text
Easy to use text widget for Flutter apps, which converts inlined urls into working, clickable links
Stars: ✭ 20 (-23.08%)
Mutual labels:  flutter-plugin
flutter statusbar manager
Flutter StatusBar Manager for iOS & Android
Stars: ✭ 189 (+626.92%)
Mutual labels:  flutter-plugin
stream-feed-flutter
Stream Feed official Flutter SDK. Build your own feed experience using Dart and Flutter.
Stars: ✭ 67 (+157.69%)
Mutual labels:  flutter-plugin
liquid button
Liquify your buttons, web demo at website
Stars: ✭ 18 (-30.77%)
Mutual labels:  flutter-plugin
flutter google maps
A Flutter plugin for integrating Google Maps in iOS, Android and Web applications. It is a wrapper of google_maps_flutter for Mobile and google_maps for Web.
Stars: ✭ 86 (+230.77%)
Mutual labels:  flutter-plugin
plugins
Flutter plugins for Tizen
Stars: ✭ 40 (+53.85%)
Mutual labels:  flutter-plugin
flutter freshchat
The unofficial flutter plugin for Freshchat
Stars: ✭ 31 (+19.23%)
Mutual labels:  flutter-plugin
acr cloud sdk
🎵 🎶 ACR Cloud SDK For flutter
Stars: ✭ 19 (-26.92%)
Mutual labels:  flutter-plugin
aestheticDialogs
📱 Flutter Plugin for 💫fluid, 😍beautiful, 🎨custom Dialogs
Stars: ✭ 19 (-26.92%)
Mutual labels:  flutter-plugin
flutter flavorizr
A flutter utility to easily create flavors in your flutter application
Stars: ✭ 260 (+900%)
Mutual labels:  flutter-plugin
pal-plugin
The Flutter onboarding editor
Stars: ✭ 16 (-38.46%)
Mutual labels:  flutter-plugin
FloatingNavigationView
A simple Floating Action Button that shows an anchored Navigation View
Stars: ✭ 19 (-26.92%)
Mutual labels:  baseflow
Motion-Tab-Bar
A beautiful animated flutter widget package library. The tab bar will attempt to use your current theme out of the box, however you may want to theme it.
Stars: ✭ 237 (+811.54%)
Mutual labels:  flutter-plugin
FlutterLoadingGIFs
Loading indicator GIFs. Material and Cupertino (Android and iOS) loading indicators in assorted sizes. Use as placeholders for loading remote image assets. Demo: https://gallery.codelessly.com/flutterwebsites/loadinggifs/
Stars: ✭ 28 (+7.69%)
Mutual labels:  flutter-plugin
E-commerce
A Flutter E-commerce by implementing the Carousel and other flutter components
Stars: ✭ 36 (+38.46%)
Mutual labels:  flutter-plugin
flutter custom tabs
A Flutter plugin to use Chrome Custom Tabs.
Stars: ✭ 117 (+350%)
Mutual labels:  flutter-plugin

Flutter Google Api Availability Plugin

pub package Build status codecov

A Flutter plugin to check the availability of Google Play services on the current device.

Features

  • Check the availability of Google Play services (on Android only).

Usage

To use this plugin, add google_api_availability as a dependency in your pubspec.yaml file. For example:

dependencies:
  google_api_availability: ^3.0.1

NOTE: There's a known issue with integrating plugins that use Swift into a Flutter project created with the Objective-C template. See issue Flutter#16049 for help on integration.

API

GoogleApiAvailability

To check the availability of Google Play services on the current device, you can use the checkGooglePlayServicesAvailability method. This could be helpful to provide a more friendly experience to users in case an user-action is required to enable support for Google Play services (More information can be found here).

import `package:google_api_availability/google_api_availability.dart`;

GooglePlayServicesAvailability availability = await GoogleApiAvailability.instance.checkGooglePlayServicesAvailability();

If you want to show a dialog by the Android system with more information and show a possible fix to the user you can do:

import `package:google_api_availability/google_api_availability.dart`;

GooglePlayServicesAvailability availability = await GoogleApiAvailability.instance.checkGooglePlayServicesAvailability(true);

Note that on iOS this will always return notAvailableOnPlatform!

See also the example project for a complete implementation.

Issues

Please file any issues, bugs or feature request as an issue on our GitHub page.

Want to contribute

If you would like to contribute to the plugin (e.g. by improving the documentation, solving a bug or adding a cool new feature), please carefully review our contribution guide and send us your pull request.

Author

This Google Api Availability plugin for Flutter is developed by Baseflow. You can contact us at [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].