Hello,
I’ve built some embedded apps for Admin and POS using Ionic, Vue and Typescript. I want to show PDF Preview on the app or open device’s browser to show the PDF Preview for blob urls.
What I’ve Tried:
- iframe, didn’t work because embedded app’s webview doesn’t allow any iframes within.
- Mozilla’s pdf.js library and some other libraries based upon it, didn’t work because they either use canvas or iframes too.
- Used the Redirect API in App Bridge with new context as true, didn’t work because Redirect API seems to support only absolute URLs and navigating within app.
I’m looking for possible ways to provide PDF Preview for blob URLs in Shopify Admin & POS Embedded Apps. My clients will mostly use my app on Shopify POS.