Skip to content

Repository files navigation

Google API Headers

pub packagedocsMIT LicenseGitHub ActionscodecovCodacy Badgestyle: flutter_lints

Github-sponsorsBuyMeACoffeeKo-FiLiberaPayPatreonPayPal

A Flutter plugin for getting the headers required to call Google APIs with an app restricted API key.

Getting Started

Add this to your project's pubspec.yaml file:

dependencies:
google_api_headers: ^5.3.7

Usage

Depending on the platform (iOS or Android), the function will return the required key and value pairs for calling Google APIs with keys that are restricted to an iOS or Android app.

import'package:google_api_headers/google_api_headers.dart';
final headers =awaitGoogleApiHeaders().getHeaders();

About

A Flutter plugin for getting the headers required to call Google APIs with an app restricted API key

Topics

Resources

Stars

12 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages