Skip to content

Commit

Permalink
docs: further explain getFreeDiskStorage() on android
Browse files Browse the repository at this point in the history
Closes #332
  • Loading branch information
machour committed Feb 23, 2018
1 parent aab3ad6 commit b8721c7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,15 @@ const freeDiskStorage = DeviceInfo.getFreeDiskStorage();

**Notes**

> Android: Returns only available external storage size, not including internal.
> From [developer.android.com](https://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory()):
>
> Return the primary shared/external storage directory.
>
> Note: don't be confused by the word "external" here. This directory can better be thought as
> media/shared storage. It is a filesystem that can hold a relatively large amount of data and
> that is shared across all applications (does not enforce permissions). Traditionally this is
> an SD card, but it may also be implemented as built-in storage in a device that is distinct
> from the protected internal storage and can be mounted as a filesystem on a computer.
---

Expand Down

0 comments on commit b8721c7

Please sign in to comment.