-
Notifications
You must be signed in to change notification settings - Fork 293
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
Print fails to display document preview intermittently with iOS 17 upgrade #301
Comments
Just to add, if I retry printing same file again and again, sometimes it will display the preview. |
Anyone else facing similar issue or seen this in past? |
My iPad app supports only landscape orientation. The moment print button is clicked in the app , the app crashes with the error : |
@shekhartupe We're seeing exactly the same problem. Did you get to the bottom of it? |
@davequested yes, in my case I am writing a file locally and then printing the same. I had file check api to ensure file was created and then only trigger print api. This worked well before iOS 17.x. With 17.x I observed even though file was created, it was not released to open and hence I added a delay of 1 sec after file check to trigger print api. This workaround resolved issue for me with this plugin. |
Unfortunately this doesn't make any difference for me. We just sent the
print() method raw html. Works fine on Android and iOS16. Apple have
changed something. It's linked to third party assets. If we don't have any
resources (e.g. css, images) from a third party URL then it works fine.
Perhaps they've got some permission hoops we now need to jump through?
|
We are using this plugin in an ionic app. With iOS 17 upgrade, we see this behavior where print menu fails to display the preview intermittently. Attached screenshot of the behavior and console logs from app.
preview-failed.txt
preview-success.txt
Any guidance will help.
The text was updated successfully, but these errors were encountered: