[ FREE ] StorageAccess Extension

[ FREE ] StorageAccess Extension

:earth_americas: Released on : 4 November 2023

:earth_americas: Updated on : 2 February 2024
:gear: Latest Version : 2.0

All Blocks

Screenshot 2023-11-27 130710

Documentation

component_event(2)

After checking will return true and false

component_event

  • Permission is already granted

This function works when the store permission is already set

component_method(3)

GetSdkVersion method is used to retrieve the Android SDK version of the device.

component_method(5)

Storage permission check

component_method(6)

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.

How to Use

blocks(2)

Download

:earth_americas: Released on : 4 November 2023

:earth_americas: Updated on : 2 February 2024

:gear: Latest Version : 2.0

com.riad.storageaccess.aix (49.1 KB))

8 Likes

Thank you for your contribution

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?

Also please follow the naming conventions…

Permission-> permission

Taifun

1 Like

Thank you for pointing out my mistake

2 Likes
2 Likes

up to now you ignored my questions, so we still have to guess what your extension is about

after now looking at your video, it seems to be, your app is asking for MANAGE_EXTERNAL_STORAGE permission

for those who consider to use this extension let me suggest to first read this

Be aware that this permission is usually not granted by Google.

Taifun

1 Like