Load and Download Pdf from Firebase

Hey Can you please help I am new Hear!
1.I Want to download pdf from Firebase Storage Do i have to use firebase storage or just the link of that file.
2.And Second I want to save that pdf in User phone.
3.And also I want that when user Click Specific Button The pdf gets open from where its has been downloaded.

Please Can you help In this I will be thankful to you.

  1. Just get the url of download from firebase storage console and set download url to that url…Using download component…
  2. Set the save as property to the path you want to save to in the users phone…(download component)
  3. Use this snippet by taifun to know how to open a pdf…Just set the path to the path of your file as i said in point 2:
    App Inventor Code Snippets | Pura Vida Apps

I am applying that can you help me in blocks Afterwards?

What does you mean?Just use the download component…And taifun’s guide…
See here:
https://docs.kodular.io/components/connectivity/download/

I can do but i will face some problem in saving and opening it

Just try and if you got error than ask us on the community…

1 Like

I also Want to add download progress percentage can this is possible ?? And How? Please

Just use this block:
https://docs.kodular.io/components/connectivity/download/#on-download-progress-changed
And please search before asking… :+1:

1 Like

I NEED pdf view extension

There is already one here:
http://puravidaapps.com/extensions.php/pdf.php
But you don’t to buy it…There is already an alternative (but in external viewer…):

And please Search before asking…

1 Like

Its not downloading the page refreshes whwnever i click o pdf extensio link


help me here how to save file and show percentage downloded out of (X) kb?mb Please

First you must set the download url before download method…Second you must set the download url to the url for the file you want…Not an empty string…

i am uploading it on firebase and now i inserted the url say what to do next

:arrow_up: :arrow_up:


look done
what to do next

Set the download url first the the download method…

ok then how to show progress in notifier downloading progress

You can easily do that by: when download progress changed store progress in variable then update notifier progress by progress -(minus) the var you stored the old progress…

i am giving you aia can you do that for me Only 1 time rest i will do based on that