Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13480

Expose Android's Environment DIRECTORY_ fields

    XMLWordPrintableJSON

Details

    Description

      I'd like to be able to list the contents of some of Android's common directories (Documents, Downloads, etc.) in my app. These directories are available natively through the Environment object's fields (https://developer.android.com/reference/android/os/Environment.html), but don't appear to be exposed through cordova-plugin-file.

      It would be a huge boon to expose these as cordova.file.* fields for Android (I'm guessing they would return null values on other platforms).

      Attachments

        Activity

          People

            Unassigned Unassigned
            eb1 Erik Brommers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified