I am building an app that allows user to choose a fie and upload it using ionic on multiple platforms.

I have tried to get the file path wrapped in a promise using datadirectory attribute but it gives me the following error on chrome : "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. " I have to get the full path in order to be able to read it. Can you please help me? Thanks in advance.I haven't found any tutorial that successfully extracts the path.

0 Answers