Plugin to manage all files in external storage. See explanation here: https://developer.android.com/training/data-storage/manage-all-files
npm install manage-external-storage<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
some code above...
<application
android:requestLegacyExternalStorage="true" <-- this one
// check if can manage
checkManagePermission().then((isManagePermitted) => {
console.log(isManagePermitted);
});
// request rights to manage
requestManagePermission().then((isManagePermitted) => {
console.log(isManagePermitted);
});See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library