Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
react-native-device-info
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
放牛的园子
react-native-device-info
Commits
aab3ad65
Commit
aab3ad65
authored
Feb 23, 2018
by
Mehdi Achour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: mention that getPhoneNumber() may return undefined
Closes #327
parent
5daad489
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
README.md
README.md
+4
-0
No files found.
README.md
View file @
aab3ad65
...
@@ -569,6 +569,10 @@ const phoneNumber = DeviceInfo.getPhoneNumber();
...
@@ -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
)
*
[
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()
### getReadableVersion()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment