How to get pdf attachment from Airtable

I am trying to open a pdf attachment that’s stored in airtable but it’s not working. What should I do?

Are you able to get the URL of the pdf file?

Yes, I am able to get the URL but I need to preview it in the app itself rather than having to open an external app.

I use Webview to display PDFs