Get ng2-pdf-viewer working again

Job ID: 31041214

Budget: $20 – $50 USD

I have been using ng2-pdf-viewer for a few years just fine in my Angular 7 web app. Recently, the import started throwing an error in my app.module.ts. The error is: “TypeError: Cannot read property 'disableCreateObjectURL' of undefined”. I did not update the package or anything. It just happened out of the blue one day and took down my whole web app. I commented out the import as well as every use of the component in my app to get the app running again and it’s working fine now, but the temporary pdf viewer I’m using (ngx-extended-pdf-viewer) sucks, and I have tried many other PDF viewers and they all suck too. Please help me fix the ng2-pdf-viewer error and get it working again!

Link to ng2-pdf-viewer on npm: https://www.npmjs.com/package/ng2-pdf-viewer
Related categories: JavaScript PDF Typescript Import/Export Angular