File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Add it in your root build.gradle at the end of repositories:
24
24
25
25
``` groovy
26
26
dependencies {
27
- implementation 'com.github.studyplus:Studyplus-Android-SDK:2.5.1 '
27
+ implementation 'com.github.studyplus:Studyplus-Android-SDK:2.5.2 '
28
28
}
29
29
```
30
30
@@ -41,12 +41,7 @@ Studyplus.instance.setup("consumer_key", "consumer_secret")
41
41
Open an Activity to connect with Studyplus.
42
42
43
43
``` 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 )
50
45
```
51
46
52
47
Then save its result.
You can’t perform that action at this time.
0 commit comments