You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "rolinger (via GitHub)" <gi...@apache.org> on 2023/02/28 00:59:58 UTC

[GitHub] [cordova-plugin-file] rolinger commented on issue #560: Cordova 11 Android throwing FileError Code 12 trying to access fileSystem

rolinger commented on issue #560:
URL: https://github.com/apache/cordova-plugin-file/issues/560#issuecomment-1447382083

   @breautek - thanks for quick response.  
   
   On both Simulator (Pixel 3a Android 10) and on real Samsung Flip 4 (Android 13) the `cordova.file.externalRootDirectory` resolves as `file:///storage/emulated/0/`  causing the FileError Code 12 on both.
   
   On both, `externalDataDirectory` resolves as: `file:///storage/emulated/0/Android/data/com.myApp/files/`
   
   And changing it from `externalRootDirectory` to `externalDataDirectory` got past the issue, still working on other issues related now - just concerned the final saved document is not going to be in a place where the users can access them.


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org