How to open pdf in app from url

I want to open pdf in app from the url (like - drive, firebase, or any url) for my app. any one pls help.

  1. I store all url in a list, if anyone click any list its forward to another screen where url load and view pdf.
  2. I confused when url load, firstly its download the pdf then view.
  3. if its download firstly then what permission i want for low and high version of android phone.
  4. I want to when pdf download for view its not save in phone by default, i want to set a button if they want to save then its save.

Try PDF extension from Deep Host

can you send me block pls

Try this one

And use this image list view for listing item with TinyDB

To show PDF, use this way:

on android 10 and below, use: WRITE Permission and for above use the shared for storing PDF and directly show the file using the path.

Use the downloader component to download the file on clicking the save button.