I have built a model-driven app that has an embedded Canvas app showing invoices by using the PDF Viewer. The actual PDF files are stored in Sharepoint and they are not accessible to everybody, so I built a Flow to get the contents and pass them back to my app as a binary string.
All that works well and I can successfully see all files on my Model-Driven app. My problem is that the PDF Viewer displays them blurry and not sharp as the Sharepoint viewer (or any other PDF viewer). For example, this sample invoice viewed on my browser directly from Sharepoint:
Is displayed like this on my app:
I have been, unsuccessfully, playing with the attributes I could find to try and make this look better but nothing worked so far. I can play with the Zoom to make it more readable, but that doesn't make the PDF sharper, it just makes it bigger.
Are there any limitations as to why these PDFs display so poorly? Am I doing something wrong? Should I apply an extra conversion in my flow that sends the binary file back to my app?
Also, is there a place where I can see what the plan is with this PDF Viewer? Will it come out of the "experimental" stage?
Any feedback/help is appreciated!
Thanks!