How to show pdf in our app from firebase storage

How to show pdf s in our app from firebase storage

Hi @ujjal_kalita,

I think you should download a pdf first.

Hello @Moayad
Can I use web viewer, through which the user doesn’t have to download the pdf. And I can show it directly from the storage

If you would like to make login system with firebase and control users who’s can download PDF or no.

Here Do Like This @ujjal_kalita
Don’t Forget To Mark Solution
You can Use this demo like of pdf stored on firebase Storage

https://firebasestorage.googleapis.com/v0/b/test-49e5c.appspot.com/o/sample.pdf?alt=media&token=581dd536-7b7d-418c-8271-78e19b72630f

blocks

@Aditya_Nanda Where will I find the URL?..
When you upload a file there is URL called download URL… Is this that URL?

Ok you have to go to firebase and there you have to go and see storage section and there you can upload files

Do you know hindi ? If yes then message me personally so that I can share you link of youtube video for firebase storage

@Jinx Okay after uploading my pdf in firebase storage
Where I will find my URL?
Can you show me a screen shot please

Ok wait I will make and share a video ok but I am having my dinner so so wait I will send you definitely :love_you_gesture:

1 Like

Thank you so much… I’m glad that u help me

blocks
I tried this way to view the PDF on the web viewer and it did not work

What is the solution

Use inApppdfviwer extension from Deephos*t app.

1 Like

I tried to view the pdf through url firebase on this tool, but it not work

Use app pdf viewer when the file is stored on phone and not from firebase