firebase_testlab_detector 0.3.0 copy "firebase_testlab_detector: ^0.3.0" to clipboard
firebase_testlab_detector: ^0.3.0 copied to clipboard

PlatformAndroid

This Flutter plugin for Android determines whether the app is running within Firebase Test Lab, which is used for Google Play Pre-Launch Reports.

firebase_testlab_detector #

A Flutter plugin for Android that helps determine if your app is running within Firebase Test Lab. Use this to differentiate between regular usage and test runs in Firebase Test Lab (i.e., during Google Play pre-launch reports).

Only works on Android. Returns null on other platforms.

Getting Started #

1. Add the dependency #

flutter pub add firebase_testlab_detector

2. Use the plugin #

final isRunningInTestlab = await FirebaseTestlabDetector.isAppRunningInTestlab() ?? false;

This plugin reads the system property firebase.test.lab, and returns a boolean value indicating whether the app is running in Firebase Test Lab.

See also the Firebase documentation for more details.

Why use this plugin? #

You might want to utilize this plugin to disable analytics, preventing skewed data from Firebase Test Lab (i.e., Google Play pre launch report) from appearing in your analytics dashboard.

4
likes
140
pub points
61%
popularity

Publisher

verified publisherachim.io

This Flutter plugin for Android determines whether the app is running within Firebase Test Lab, which is used for Google Play Pre-Launch Reports.

Repository (GitHub)
View/report issues

Topics

#android #plugin #google-play #pre-launch-report #firebase-test-lab

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on firebase_testlab_detector