forked from github/wulkanowy-mirror
Use emptyCookieJarInterceptor in SDK configuration (#2390)
This commit is contained in:
parent
5316e3e1bf
commit
8324a9cac3
@ -193,7 +193,7 @@ ext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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'
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@ fun Sdk.init(student: Student): Sdk {
|
|||||||
schoolSymbol = student.schoolSymbol
|
schoolSymbol = student.schoolSymbol
|
||||||
studentId = student.studentId
|
studentId = student.studentId
|
||||||
classId = student.classId
|
classId = student.classId
|
||||||
|
emptyCookieJarInterceptor = true
|
||||||
|
|
||||||
if (Sdk.Mode.valueOf(student.loginMode) == Sdk.Mode.HEBE) {
|
if (Sdk.Mode.valueOf(student.loginMode) == Sdk.Mode.HEBE) {
|
||||||
mobileBaseUrl = student.mobileBaseUrl
|
mobileBaseUrl = student.mobileBaseUrl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user