Skip to content

Commit

Permalink
docs: mention that getPhoneNumber() may return undefined
Browse files Browse the repository at this point in the history
Closes #327
  • Loading branch information
machour committed Feb 23, 2018
1 parent 5daad48 commit aab3ad6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -569,6 +569,10 @@ const phoneNumber = DeviceInfo.getPhoneNumber();

* [android.permission.READ_PHONE_STATE](https://developer.android.com/reference/android/Manifest.permission.html#READ_PHONE_STATE)

**Notes**

> This can return `undefined` in certain cases and should not be relied on. [SO entry on the subject](https://stackoverflow.com/questions/2480288/programmatically-obtain-the-phone-number-of-the-android-phone#answer-2480307).
---

### getReadableVersion()
Expand Down

0 comments on commit aab3ad6

Please sign in to comment.