I am coming back to this as I believe it is not complicated to achieve. So far I have been pointing directly to the link to view the PDF hosted in Google Drive, but that logs out the user from the project and I am looking to view embedded the pdf in the app.
When I tried the Web Content and use the link, it gives me a forbidden error (403 error) so I tried the embed content and used the code:
<iframe src="https://drive.google.com/file/d/<<DOCID>>/preview" width="640" height="480" allow="autoplay"></iframe>
That works. But I would need to change the DOCID dinamically because that value is going to be different for each document. That option is in the Web Content option, but I don’t think it is with the embed content.
How could I get what I am looking for?