permissionsStatus method
Used to check Android permissions status
Important:
- This method will always return a bool.
- If return true
[READ]
and[WRITE]
permissions is Granted, else[READ]
and[WRITE]
is Denied.
Platforms:
Android | IOS | Web |
---|---|---|
✔️ |
✔️ |
❌ |
See more about platforms support
Implementation
@override
Future<bool> permissionsStatus() async {
final bool resultStatus = await _channel.invokeMethod("permissionsStatus");
return resultStatus;
}