setIgnorePermissionCheck static method
Ignore permission checks at runtime, you can use third-party permission plugins to request permission. Default is false.
For Android, a typical usage scenario may be to use it in Service, because Activity cannot be used in Service to detect runtime permissions, but it should be noted that deleting resources above android10 require activity to accept the result, so the delete system does not apply to this Attributes.
For iOS, this feature is only added, please explore the specific application scenarios by yourself
Implementation
static Future<void> setIgnorePermissionCheck(bool ignore) async {
await _plugin.ignorePermissionCheck(ignore);
}