A flutter plugin to know if Firebase Test Lab is activated
This project is a starting point for a Flutter Firebase official documentation, where they explain how to know whether the app is running in Firebase Test Lab
-
Add
is_firebase_test_lab_activated
to yourpubspec.yaml
:dependencies: is_firebase_test_lab_activated: ^2.0.2
-
Import the package
import 'package:is_firebase_test_lab_activated/is_firebase_test_lab_activated.dart';
- Now you can check whether the app is running in Firebase Test Lab
final bool isFirebaseTestLabActivated = await IsFirebaseTestLabActivated.isFirebaseTestLabActivated;