I tried everything but what worked for me was instead of launching your file URL directly, attach Google Drive embed link to it
url = 'https://docs.google.com/gview?embedded=true&url=${fileUrl}'
For your case fileUrl = 'http://3.65.45.149/uploads/store/vendor_report/vendor_pickup_report_257.pdf'
Top comments (0)