savitabangera removed a comment on issue #426:
URL:
https://github.com/apache/cordova-plugin-file/issues/426#issuecomment-996521386
> #please let me know I'm also facing same issue for android 11 device
(Cordova android@10 ). code :
>
> window.resolveLocalFileSystemURL(cordova.file.externalRootDirectory,
function(dir) { dir.getFile("test.pdf", {create:true}, function(file) {
file.createWriter(function(fileWriter) { fileWriter.write("byteArrays data");
alert('Message', 'File Downloaded Successfully'); }, function(){
alert('Error!', "Unable to save the file"); }); },function(e){ alert('Error!',
e); }); },function(e){ console.log(e); });
>
>
https://stackoverflow.com/questions/70110433/cordova-file-externalrootdirectory-not-working-in-android-11-devices
Have you got a solution to this @Maheshvy
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]