New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File could not be accessed #181

Closed
ardabeyazoglu opened this Issue Nov 23, 2017 · 1 comment

Comments

1 participant
@ardabeyazoglu

ardabeyazoglu commented Nov 23, 2017

When I download and open a pdf from "cdvfile://localhost/persistent/documents/test.pdf", it tries to open acrobat pdf reader but fails and then give this error in toast message:

This file could not be accessed. Check the location or network...

Android version : 4.4.2
Cordovaa version: 7.0.1
Android platform: 6.3.0

The same code was working before, I think it stopped working with the android platform 6.3.

@ardabeyazoglu

This comment has been minimized.

Show comment
Hide comment
@ardabeyazoglu

ardabeyazoglu Nov 23, 2017

The problem is about cordova.file.* directories. I solved it by using external data directory.

ardabeyazoglu commented Nov 23, 2017

The problem is about cordova.file.* directories. I solved it by using external data directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment