firebase_app_check_custom 0.1.4 copy "firebase_app_check_custom: ^0.1.4" to clipboard
firebase_app_check_custom: ^0.1.4 copied to clipboard

discontinuedreplaced by: firebase_app_check

A fork of firebase_app_check with enhanced debug token support allowing custom debug tokens via parameters or environment variables.

Firebase App Check Custom #

pub package

This package is a fork of the official Firebase App Check plugin with added support for custom debug tokens.

Version Information #

  • Current Version: 0.1.4
  • Based on: firebase_app_check 0.3.2+5

Note that this package uses its own versioning scheme, starting at 0.1.0, while the original package is at version 0.3.2+5. Features and fixes from the original package will be incorporated into this fork as they become available.

Enhanced Features #

This fork adds the following enhancements to the original package:

  • Custom Debug Tokens: Specify your own debug tokens when using the debug provider, giving you more control over your testing process
  • Environment Variable Support: Set debug tokens via the DEBUG_APP_CHECK_TOKEN environment variable
  • Full compatibility with the original API, making migration easy

Getting Started #

To get started with Firebase App Check Custom, please see the documentation for the original plugin. The setup process is identical.

Usage #

Initialize Firebase App Check just like the original package, with the additional option to specify a custom debug token:

await FirebaseAppCheck.instance.activate(
  androidProvider: AndroidProvider.debug,
  appleProvider: AppleProvider.debug,
  // New parameter for custom debug token:
  customDebugToken: 'your-custom-debug-token',
);

Alternative: Using Environment Variables #

You can also set the debug token via environment variable:

  1. Set the DEBUG_APP_CHECK_TOKEN environment variable before running your app
  2. The token will be automatically detected and used when using the debug provider

If both the environment variable and the parameter are provided, the parameter takes precedence.

Attribution #

This package is a fork of the official Firebase App Check plugin developed by the Firebase team. All credit for the original implementation goes to them.

The enhancements in this fork were developed to address the specific need for custom debug tokens in testing scenarios.

License #

This package is licensed under the same license as the original Firebase App Check plugin, which is the BSD license.

Issues and Contributions #

Please file issues specific to this fork in our issue tracker.

For issues with the core Firebase App Check functionality, please consider filing them in the official FlutterFire repository.

0
likes
140
points
42
downloads

Publisher

unverified uploader

Weekly Downloads

A fork of firebase_app_check with enhanced debug token support allowing custom debug tokens via parameters or environment variables.

Repository (GitHub)
View/report issues

Topics

#firebase #app-check #security #protection #debug

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

firebase_app_check_platform_interface, firebase_app_check_web, firebase_core, firebase_core_platform_interface, flutter

More

Packages that depend on firebase_app_check_custom