Skip to content

File access in Browser? #412

@GitToTheHub

Description

@GitToTheHub

Hi,

I want to run my App in a browser (Chrome), but have problems with accessing the files in the same way as on android or ios.
For example, i want to store data in cordova.file.dataDirectory. On Chrome this is filesystem:file:///persistent/ but when using resolveLocalFileSystemURL, i get the error:
SecurityError: It was determined that certain files are unsafe for access within a Web application, or that too many calls are being made on file resources.
In the docu I read to execute Chrome with the flag --allow-file-access-from-files, but this doesn't help me.

Any Ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions