Description
App is crashing when opening a pdf after downoading inside a temporary folder. To open the pdf I am using cordova-plugin-document-viewer plugin.
Pdf location: “/var/mobile/Containers/Data/Application/1526E03F-F7B8-4892-A6BB-358C4BDC9A54/Documents/Tdffs_Y27B5VC6D1.pdf”
In xcode logs its showing:
-[ReaderDocument setFilePath:]: unrecognized selector sent to instance 0x283f145a0**
+[ReaderDocument unarchiveFromFileName:password:] Caught NSInvalidArgumentException: -[ReaderDocument setFilePath:]: unrecognized selector sent to instance 0x283f145a0**
Which version?
4.6.2166-6.603
To Reproduce(If applicable)
Steps to reproduce the behavior:
Add plugin cordova.zoom.plugin and cordova-plugin-document-viewer in a same project and try to open a pdf from internal storage temp folder.
Screenshots
Smartphone (please complete the following information):
- iPhone6s
- OS: iOS13.3.1
- Version 17D50
Additional context
I removed the zoom plugin and tried to open the pdf, it was working fine.