Read files from a other application directory and upload to fire base


#1

Hi Everyone,

I’m working on a simple project using Ionic and Angular JS. The requirement is, I need to provide user with directory browser for the first time they install and open the application. Once user chooses a directory all the files inside the directory needs to displayed to user with a checkbox. Selecting checkbox should upload the respective image or video to fire base.

I followed the below URL.

Unfortunately i shows a empty list.

  1. I tried to access the cordova.file.externalrootdirectory and got the same empty result.
  2. I tried to access file URI “file:///” it displayed the root directories but when I tried to list files inside “storage/emulated/0/” it again shows empty list.

Any help would be helpful.

Thanks