Skip to content
This repository has been archived by the owner on Apr 13, 2020. It is now read-only.

I am not able to use this plugins please help me #34

Open
sheoco opened this issue Sep 22, 2018 · 0 comments
Open

I am not able to use this plugins please help me #34

sheoco opened this issue Sep 22, 2018 · 0 comments

Comments

@sheoco
Copy link

sheoco commented Sep 22, 2018

function success() { alert("success"); }
function error() { alert("error"); }
var options = {
password: null,
flatUI: true,
showShadows: true,
enableThumbs: true,
disableRetina: false,
enablePreview: true,
bookmarks: true,
landscapeDoublePage: true,
landscapeSingleFirstPage: true,
toolbarBackgroundColor: null,
textColor: null,
enableShare: false
}

PDFReader.open(entry.toURI().replace('file://', ""), options, success, error);

Note: file URL in my case ="/data/user/0/com.twentyfourhrstudy.www/files/25_0_book.pdf"

it's work properly on opener2 plugins. but it's not working here why?.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant