This function works when the store permission is already set
GetSdkVersion method is used to retrieve the Android SDK version of the device.
Storage permission check
This function facilitates the solicitation of access rights for storage from the user. If the Android Software Development Kit (SDK) version falls below 30, it initiates the procurement of READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions through the utilization of ActivityCompat.requestPermissions(). In scenarios where the Android SDK version is 30 or higher, and the application lacks the essential authorization for external storage management, it triggers the unveiling of the system settings page, affording the user the opportunity to bestow the requisite permission.
Could you please explain what exactly is the advantage compared to the built in AskForPermission / PermissionGranted / PermissionDenied blocks? Does the extension consider the different permissions needed for different Android versions?