Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Error while loading the content & Invalid parameter value detected. #86

@drpawar

Description

@drpawar

Hi,

I am getting 2 errors in ionic 1 project whenever I click on hardware back button of android device.

Error while loading the content.
AND
Invalid parameter value detected.

Here is console log:-
Uncaught TypeError: Cannot read property 'getDestination' of null
at PDFLinkService_navigateTo [as navigateTo] (pdf.js:12475)
at PDFLinkService_setHash [as setHash] (pdf.js:12596)
at PDFHistory.pdfHistory_goTo [as _goTo] (pdf.js:16154)
at pdfHistoryPopstate (pdf.js:15941)

PDFLinkService_navigateTo: "null" is not a valid destination array.

pdferror

And Also <pdfjs-viewer on-init="$ctrl.onInit()"></pdfjs-viewer> not working.

Please let me know if I am doing something wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions