Third Party javascript Document viewer not working with mobile designer

Web method Environment :

Web method version:9.12

Fix:level 6

Description :

We are developing a mobile app using web method mobile designer. On one module we have to show the pdf inside the application as if embed on a page.

We tried many JavaScript plugins because we are using html, css and JavaScript for designing.

But none of them are not working with mobile designer. Mainly we used pdf.js plugins.

We applied the pdf.js and Viewer.js We couldn’t find any compilation error while building the application. But on front end side content is not showing on the page.

My primary investigation shows that the plugins using browser workers that will not supported by android and iOS webview.

Can we use npm packages like in reactJS and ionic?.

Please advise us on how to add document viewer inside the mobile app with mobile designer.