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

Commit b84c6ca

Browse files
fix(android): fix crash on android
1 parent d8ff3b2 commit b84c6ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdf-view.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class PDFView extends PDFViewCommon {
3030

3131
public createNativeView() {
3232
// tslint:disable-next-line:no-unsafe-any
33-
return new pdfviewer.PDFView(this._context);
33+
return new pdfviewer.PDFView(this._context, void 0);
3434
}
3535

3636
public [srcProperty.setNative](value: string) {

0 commit comments

Comments
 (0)