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
114d1bad
Unverified
Commit
114d1bad
authored
Nov 20, 2017
by
Gant Laborde
Committed by
GitHub
Nov 20, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #266 from leethree/patch-1
Correct user agent example in README
parents
26adc660
1855c29f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
No files found.
README.md
View file @
114d1bad
...
...
@@ -178,7 +178,7 @@ var DeviceInfo = require('react-native-device-info');
| App Version | `
getVersion()
` | `
string
` e.g. "1.1.0" | |
| App Version (Readable) | `
getReadableVersion()
` | `
string
` e.g. "1.1.0.89" | |
| Device Name | `
getDeviceName()
` | `
string
` e.g. "Becca's iPhone 6" | |
| User Agent | `
getUserAgent()
` | `
string
` e.g. "
Dalvik/2.1.0 (Linux; U; Android 5.1; Google Nexus 4 - 5.1.0 - API 22 - 768x1280 Build/LMY47D)
" | |
| User Agent | `
getUserAgent()
` | `
string
` e.g. "
Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.009; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36
" | |
| Device Locale | `
getDeviceLocale()
` | `
string
` e.g. "en-US" | |
| Device Country | `
getDeviceCountry()
` | `
string
` e.g. "US" | |
| Timezone | `
getTimezone()
` | `
string
` e.g. "America/Mexico_City" | |
...
...
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