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
957ae2da
Commit
957ae2da
authored
Oct 06, 2017
by
Jonathan Kim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update CHANGELOG and update typescript definitions
parent
58fb6a5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
CHANGELOG.md
CHANGELOG.md
+1
-0
deviceinfo.d.ts
deviceinfo.d.ts
+3
-0
No files found.
CHANGELOG.md
View file @
957ae2da
...
...
@@ -13,6 +13,7 @@
-
Add android only
`getAPILevel`
method (https://github.com/rebeccahughes/react-native-device-info/pull/232)
-
Add Android support for serial number, IP, and MAC address (https://github.com/rebeccahughes/react-native-device-info/pull/150)
-
Add tvOS support (https://github.com/rebeccahughes/react-native-device-info/pull/235)
-
Add flow types
[
Diff
](
https://github.com/rebeccahughes/react-native-device-info/compare/1aafc6f0b20d7cd6f0939ea5370e9899e4914c93...master
)
...
...
deviceinfo.d.ts
View file @
957ae2da
...
...
@@ -23,3 +23,6 @@ export function isTablet(): boolean;
export
function
isPinOrFingerprintSet
():
(
cb
:
(
isPinOrFingerprintSet
:
boolean
)
=>
void
)
=>
void
;
export
function
getFirstInstallTime
():
number
;
export
function
getLastUpdateTime
():
number
;
export
function
getSerialNumber
():
string
;
export
function
getIPAddress
():
Promise
<
string
>
;
export
function
getMACAddress
():
Promise
<
string
>
;
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