google_api_headers 0.1.1+2
google_api_headers: ^0.1.1+2 copied to clipboard

Flutter Android iOS web

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

Google API Headers #

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

pub package docs MIT License Build and Deploy codecov Effective Dart

Getting Started #

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

dependencies:
  google_api_headers: ^0.1.1+2

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 = await GoogleApiHeaders().getHeaders();
2
likes
110
pub points
65%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

zeshuaro@gmail.com

License

MIT (LICENSE)

Dependencies

flutter, package_info

More

Packages that depend on google_api_headers