flutter_permission_validator 0.2.0
flutter_permission_validator: ^0.2.0 copied to clipboard
A CLI tool that analyzes Flutter projects to detect unused permissions in AndroidManifest.xml and Info.plist. Helps avoid app store rejections by ensuring permission declarations match actual usage in [...]
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate flutter_permission_validatorUse it
The package has the following executables:
$ perm_check
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_permission_validatorWith Flutter:
$ flutter pub add flutter_permission_validatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_permission_validator: ^0.2.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_permission_validator/flutter_permission_validator.dart';