permissionsRequest method
Used to request Android permissions.
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
Future<bool> permissionsRequest({bool retryRequest = false}) async {
return platform.permissionsRequest(retryRequest: retryRequest);
}