Cordova file-transfer plugin not asking permission for the file download


Im using the cordova file-transfer plugin for both file upload and download. While i am doing file upload its ask my device is ask for the permission to access device location but in the case for file download its not asking any permission. That is for the first time if i am directly going for the file download is not working showing eeror code 1, but after doing file upload thing the download also working|