Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ This library allows you to use accounts as well as the network stack provided by
You can check out the [sample app](https://github.com/nextcloud/Android-SingleSignOn/tree/master/sample) which uses this library to fetch some information via SSO from a Nextcloud instance.
The sample app uses the [Retrofit approach](#51-using-retrofit). Be aware though, that it is for demonstration purposes only. Exception handling, state management etc. must be implemented depending on your use case.

If you need to support __SDK lower than 24__, you must enable [library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring).

### 1) Add this library to your project

```gradle
Expand Down
3 changes: 0 additions & 3 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ android {
}

compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
Expand Down Expand Up @@ -114,8 +113,6 @@ detekt {
}

dependencies {
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.3'

implementation "androidx.appcompat:appcompat:1.7.0"
implementation 'androidx.annotation:annotation:1.9.1'
implementation 'androidx.core:core:1.13.1'
Expand Down