Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
florent37 committed Nov 27, 2018
1 parent 3fbff58 commit 1c323f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Will ask for **CONTACTS** and **LOCALISATION** permissions
# Kotlin-Coroutines

```kotlin
GlobalScope.launch(Dispatchers.Main) {
yourScope.launch {
try {
val result = askPermission(Manifest.permission.READ_CONTACTS, Manifest.permission.ACCESS_FINE_LOCATION)
//all permissions already granted or just granted
Expand Down

0 comments on commit 1c323f2

Please sign in to comment.