Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
memishood authored Nov 16, 2020
1 parent 92bb230 commit 32a9231
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#### 2.Add this dependency in your app level `build.gradle`:
dependencies {
...
def latestVersion = "1.0.1"
def latestVersion = "1.0.3"
implementation "com.github.memishood:Android-Device-ID:$latestVersion"
}

Expand All @@ -39,15 +39,17 @@
### Kotlin
Remember to check READ_PHONE_STATE permission before using
```kotlin
DeviceInfo.imei(this)?.let { imei ->
val deviceInfo = DeviceInfo(this)

deviceInfo.imei?.let { imei ->
// your code..
}

DeviceInfo.simSerialNumber(this)?.let { simSerialNumber ->
deviceInfo.simSerialNumber?.let { simSerialNumber ->
// your code..
}

DeviceInfo.secureId(this)?.let { secureId ->
deviceInfo.secureId?.let { secureId ->
// your code..
}
```

0 comments on commit 32a9231

Please sign in to comment.