-
Notifications
You must be signed in to change notification settings - Fork 171
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
PdfView load event never fired #2269
Comments
Logcat output would be helpful. Also: have you granted the storage permission for the app? |
Yep i've granted the storage permission. I don't think logcat will be very helpful because the problem exist on Ios too and with the Tabris developer app. |
@ishigo1987, thank you for reporting the issue. |
@ishigo1987, to fix the issue, you can simply update the const pdfView = new PdfView({
top: 0,
left: 0,
right: 0,
bottom: 0,
zoomEnabled: true,
pageElevation: 2,
background: "#ffffff",
spacing: 12
}).onLoad((event) => {
console.log(event)
}).appendTo(contentView)
pdfView.src = result[0]; |
Thank you @elshadsm , i will check your solution tomorrow |
@ishigo1987 Did the solution work |
Problem description
The pdf content is displayed without problem, but the load event is never fired.
->
Expected behavior
load event works as expected
Environment
Code snippet
The text was updated successfully, but these errors were encountered: