google_api_headers
एक फ्लटर प्लगइन जो एप्लिकेशन सीमित API कुंजी के साथ Google API कॉल करने के लिए आवश्यक हेडर प्राप्त करता है
एक फ्लटर प्लगइन जो एप्लिकेशन सीमित API कुंजी के साथ Google API कॉल करने के लिए आवश्यक हेडर प्राप्त करता है
{"sdk":"flutter"}^10.2.12.16.16.0.0{"sdk":"flutter"}1.0.5यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
pub package docs MIT License GitHub Actions codecov Codacy Badge style: flutter_lints
Github-sponsors BuyMeACoffee Ko-Fi LiberaPay Patreon PayPal
A Flutter plugin for getting the headers required to call Google APIs with an app restricted API key.
Add this to your project's pubspec.yaml file:
dependencies:
google_api_headers: ^5.4.1
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();