firebase_app_identity 0.1.0
firebase_app_identity: ^0.1.0 copied to clipboard
Unofficial. Reads the running Flutter app's package name and signing SHA-1 (Android) or bundle ID (iOS, macOS), so that firebase_app_dart sends them to an API key limited to the app, as the native Fir [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add firebase_app_identityThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
firebase_app_identity: ^0.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:firebase_app_identity/firebase_app_identity.dart';