EasyPermissionValidator constructor
EasyPermissionValidator({})
Caution: Some permissions must be in the privacy policy
If you use any permissions from this package, you must add:
For iOS (ios/Runner/Info.plist):
CALENDAR:
CAMERA:
CONTACTS:
LOCATION:
MICROPHONE:
PHOTOS:
SENSORS:
REMINDER:
MICROPHONE:
BLUETOOTH:
MEDIA LIBRARY:
APP TRACKING TRANSPARENCY:
For ANDROID (android/app/src/main/AndroidManifest.xml):
https://developer.android.com/guide/topics/permissions/overview
Internet permissions do not affect the permission_handler
plugin, but are required if your app needs access to the internet.
Implementation
EasyPermissionValidator({
required this.context,
required this.appName,
this.customDialog,
this.appNameColor,
this.cancelText,
this.enableLocationMessage,
this.goToSettingsText,
this.permissionSettingsMessage,
});