You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the library currently doesn't support password protected pdf files, we wanted to implement this functionality on our own. Currently its just not possible to interface with the PDFDocumentLoadingTask class which is used in the background. It would be really great if the RPProvider would provide two additional properties onPassword and onProgress which would solve this issue.
I know that password protected pdfs are in consideration on the roadmap, so this should be implemented in a way where future functionality (e.g. handling password protected pdfs directly by react-pdf) is taken into consideration.
Unrelated: the RPDefaultLayout should also expose a callback onMobileWidth: (mobileWidth: boolean) => void to make it easier to know whether the layout is currently in the mobile mode or not.
The text was updated successfully, but these errors were encountered:
Good day!
As the library currently doesn't support password protected pdf files, we wanted to implement this functionality on our own. Currently its just not possible to interface with the
PDFDocumentLoadingTask
class which is used in the background. It would be really great if theRPProvider
would provide two additional propertiesonPassword
andonProgress
which would solve this issue.I know that password protected pdfs are in consideration on the roadmap, so this should be implemented in a way where future functionality (e.g. handling password protected pdfs directly by
react-pdf
) is taken into consideration.Unrelated: the
RPDefaultLayout
should also expose a callbackonMobileWidth: (mobileWidth: boolean) => void
to make it easier to know whether the layout is currently in the mobile mode or not.The text was updated successfully, but these errors were encountered: