Use emptyCookieJarInterceptor in SDK configuration (#2390)

This commit is contained in:
Mikołaj Pich 2024-01-09 19:00:37 +01:00 committed by GitHub
parent 5316e3e1bf
commit 8324a9cac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -193,7 +193,7 @@ ext {
}
dependencies {
implementation 'com.github.wulkanowy:sdk:2.3.3'
implementation 'io.github.wulkanowy:sdk:2.3.4-SNAPSHOT'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'

View File

@ -11,6 +11,7 @@ fun Sdk.init(student: Student): Sdk {
schoolSymbol = student.schoolSymbol
studentId = student.studentId
classId = student.classId
emptyCookieJarInterceptor = true
if (Sdk.Mode.valueOf(student.loginMode) == Sdk.Mode.HEBE) {
mobileBaseUrl = student.mobileBaseUrl