Skip to content

Commit cf6aafd

Browse files
committed
Updte README
1 parent b115371 commit cf6aafd

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Add it in your root build.gradle at the end of repositories:
2424

2525
```groovy
2626
dependencies {
27-
implementation 'com.github.studyplus:Studyplus-Android-SDK:2.5.1'
27+
implementation 'com.github.studyplus:Studyplus-Android-SDK:2.5.2'
2828
}
2929
```
3030

@@ -41,12 +41,7 @@ Studyplus.instance.setup("consumer_key", "consumer_secret")
4141
Open an Activity to connect with Studyplus.
4242

4343
```kotlin
44-
try {
45-
Studyplus.instance.startAuth(this@MainActivity, REQUEST_CODE_AUTH)
46-
} catch (e: ActivityNotFoundException) {
47-
e.printStackTrace()
48-
Toast.makeText(context, "Need for Studyplus 5.0.0+", Toast.LENGTH_LONG).show()
49-
}
44+
Studyplus.instance.startAuth(this@MainActivity, REQUEST_CODE_AUTH)
5045
```
5146

5247
Then save its result.

0 commit comments

Comments
 (0)