-
Notifications
You must be signed in to change notification settings - Fork 246
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
Unable to load PDF file larger than 128K on iOS 10.2 #170
Comments
Hi @jyxzfw , thanks for the issue! |
Hi @dennybiasiolli , thank you for your prompt reply! |
Yes, it is also so. I used the latest version(v 1.5.0), and had built a test ionic project. |
Not only latest version of `angarjs-pdf` but pdfjs itself.
What version of `pdfjs` or `pdfjs-dist` are you using? Latest is `1.6.463`,
please try to install this version with `npm i pdfjs-dist` or `bower
install pdfjs-dist`
…On Wed, Jan 18, 2017, 04:22 jyxzfw ***@***.***> wrote:
Yes, it is also so. I used the latest version(v 1.5.0), and had built a
test ionic project.
log:
2017-01-18 10:37:44.102043 newTestAngularjsPDF[17300:4589611]
{"loaded":2211,"total":272348}
2017-01-18 10:37:44.156635 newTestAngularjsPDF[17300:4589611]
{"loaded":54211,"total":272348}
2017-01-18 10:37:44.175461 newTestAngularjsPDF[17300:4589611]
{"loaded":65536,"total":272348}
2017-01-18 10:37:44.206529 newTestAngularjsPDF[17300:4589611]
{"loaded":65536,"total":272348}
2017-01-18 10:37:44.206900 newTestAngularjsPDF[17300:4589611]
{"loaded":131072,"total":272348}
It also loaded only 131072 bytes.
But I found that the example you provided were good. I set $scope.pdfUrl="
http://xxx.xxx.xxx.xxx:xx/FileStoreService/DownPDF.ashx?fileNumber=xxxxxxxx",
then open with Safari. It works very well!
So I guess angularjs-pdf doesn't support the latest IOS.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#170 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALHBtweVKT5tqvWk-5adXAM1X93RntTcks5rTYVqgaJpZM4LkUhU>
.
|
I did what you said. I have tried to install this version with |
Hi @jyxzfw, |
Hi, I am trying to use angular-pdf on my ionic APP to display pdf file.
I set the parameters $scope.pdfUrl to "http://xxx.xxx.xxx.xxx:xx/FileStoreService/DownPDF.ashx?fileNumber=xxxxxxxx".
And it worked very well on iOS 8.2, until I upgraded IOS to 10.2.
I find that when PDF is less than 128K, it works properly.And no errors in the logs too.Why?
Thanks for every help
The text was updated successfully, but these errors were encountered: