I have used ionic3-image-cache for cache image from firebase database.
But there is an issue when run the app on android, it gives me some errors.
- resolveDirectoryUrl FileError
- Create directory fail FileError {code: 12, message: "PATH_EXISTS_ERR"}
I have used diagnostic plugin for the permission of external storage like this.
this.diagnostic.requestExternalStorageAuthorization().then(() => {
//User gave permission
}).catch(error => {
//Handle error
});
but still same error,
If someone has the issue like this, please help me.
Thanks.