We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In chrome browser on PC: simpleViewer example works fine localFileSystem example gives error: Uncaught ReferenceError: LocalFileSystem is not defined
On Android device: both examples behave equally: endless "loading PDF, please wait..." with loading indicator running.
Sencha Touch 2.3.1 Sencha Cmd v5.0.2.270 Cordova 3.7.0
org.apache.cordova.file 1.3.1 "File" installed
index.html: ... script id="microloader" type="text/javascript" src=".sencha/app/microloader/development.js"></script> script src="resources/js/pdf.js/compatibility.js"></script> script src="resources/js/pdf.js/pdf.js"></script> script src="resources/js/base64-binary.js"></script> /head>
app.js copied as it is with minor changes: name -> no spaces requires added var localFile = 'resources/test.pdf'
app.json "resources": [ "resources/test.pdf" ],
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered:
for localFileSystem example:
alert: File Error: alert: NOT_FOUND_ERR
I've tried: var localFile = './../www/myApp/resources/test.pdf'; var localFile = './../myApp/resources/test.pdf'; window.resolveLocalFileSystemURI("file:///test.pdf", gotFileEntry, fail);
Sorry, something went wrong.
No branches or pull requests
In chrome browser on PC:
simpleViewer example works fine
localFileSystem example gives error: Uncaught ReferenceError: LocalFileSystem is not defined
On Android device:
both examples behave equally: endless "loading PDF, please wait..." with loading indicator running.
Sencha Touch 2.3.1
Sencha Cmd v5.0.2.270
Cordova 3.7.0
org.apache.cordova.file 1.3.1 "File" installed
index.html:
...
script id="microloader" type="text/javascript" src=".sencha/app/microloader/development.js"></script>
script src="resources/js/pdf.js/compatibility.js"></script>
script src="resources/js/pdf.js/pdf.js"></script>
script src="resources/js/base64-binary.js"></script>
/head>
app.js copied as it is with minor changes:
name -> no spaces
requires added
var localFile = 'resources/test.pdf'
app.json
"resources": [
"resources/test.pdf"
],
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: