-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested
Description
π Reproduction steps
- Add
implementation("com.squareup.okhttp3:okhttp:5.1.0")
to dependencies - Use Appwrite SDK in your Android app
- Run a request that uses cookies
- Crash occurs at
ListenableCookieJar
π Expected behavior
- The Appwrite SDK should not rely on internal or private OkHttp classes.
ListenableCookieJar
should use only public APIs (e.g.java.net.HttpCookie.parse(...)
) to handle cookies.- App should work normally without crashing when using OkHttp 5.x.
π Actual Behavior
- App crashes at runtime with the following error:
- Caused by internal API usage that was removed in OkHttp 5.1.0.
- Makes it impossible to use Appwrite SDK with the latest OkHttp versions.
π² Appwrite version
Appwrite Cloud
π» Operating system
Something else
π§± Your Environment
- Appwrite SDK version: 8.1.0
- OkHttp version: 5.1.0
- Android version: Any
- Crash location:
ListenableCookieJar.kt
π Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
π’ Have you read the Code of Conduct?
- I have read the Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested