You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not able to get any content. it always displays the following error when selecting a file, except for the files created by the application
ERROR Error: Uncaught (in promise): Error: File does not exist
Error: File does not exist
at returnResult (VM3:772:32)
at win.androidBridge.onmessage (VM3:747:21)
at resolvePromise (zone.js:1193:31)
at zone.js:1100:17
at zone.js:1116:33
at _ZoneDelegate.invoke (zone.js:368:26)
at Object.onInvoke (core.mjs:26262:33)
at _ZoneDelegate.invoke (zone.js:367:52)
at Zone.run (zone.js:129:43)
at zone.js:1257:36
at _ZoneDelegate.invokeTask (zone.js:402:31)
at core.mjs:25948:55
The text was updated successfully, but these errors were encountered:
It's an Android limitation, it's documented in the plugin docs that starting in Android 11, they allow to write your own files to documents folder, but don't allow to access other app files.
The only way of reading files from there would be to use a file picker plugin where the user manually picks the file, you can't access them programmatically anymore.
I'm not familiar with that plugin, but it should provide you the file content already, you should not use Filesystem plugin to read it.
Also if you are passing a file path you should not pass a directory.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out.
I cannot read any file except the ones I create with my app, how to fix that?
I am not able to get any content. it always displays the following error when selecting a file, except for the files created by the application
The text was updated successfully, but these errors were encountered: