christopherdro / react-native-print

Print documents using React Native
MIT License
335 stars 145 forks source link

iOS - App freeze/crash after print #87

Closed arahmanali closed 3 years ago

arahmanali commented 5 years ago

"react": "16.8.3" "react-native": "0.59.4" "react-native-print": "^0.5.1" (tried 0.6.0 as well)

When i call RNPrint.print with html and take a print, after the promise resolves the app got stuck or sometimes crashed.

nikitpanchal commented 5 years ago

I'm facing the same issue after upgrading to 0.59

arahmanali commented 5 years ago

So now its working on iOS with silent print feature, although it was not mentioned in the docs the it would ONLY work that way.

nikitpanchal commented 5 years ago

So now its working on iOS with silent print feature, although it was not mentioned in the docs the it would ONLY work that way.

I solved it, by commenting @media-print css on my Html . if you have media print css comment it

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.