apache / cordova-plugin-file-transfer

Apache Cordova File Transfer Plugin
https://cordova.apache.org/
Apache License 2.0
595 stars 888 forks source link

File download doesn't ask for permission #239

Open JankovicsSandor opened 4 years ago

JankovicsSandor commented 4 years ago

Bug Report

File download on android doesn't ask for the permission for storage permission. So when I call the download it gets rejected because of permission denied

Problem

What is expected to happen?

Ask for permission before download if it doesn't have storage permission

What does actually happen?

The download fails with permission denied.

Information

In the docs it is mentioned how to ask for permission https://ionicframework.com/docs/native/android-permissions have to ask for https://developer.android.com/reference/android/Manifest.permission.html#WRITE_EXTERNAL_STORAGE permission before.

Command or Code

Environment, Platform, Device

Version information

Checklist

ugale-deepak3010 commented 3 years ago

I am till facing problem please solve that, I need to manual give perimssion to access storage otherwise return error code 1 please solve that as soon as posssible

ugale-deepak3010 commented 3 years ago

there are available plugin for permission access I recommended to use that