Bump okhttp to 4.9.0 - #1390
Conversation
ferdicus
left a comment
There was a problem hiding this comment.
Can confirm that the crash apparently is linked to Sdk 30+
When running on an older version 24-25 for example this isn't happening.
Hence why it was so elusive I guess :)
Anyways, thanks 🙇🏿
|
There is an issue with this PR that I have solved below. Please read for more info, I believe this package needs an update. Updating my version of this package to a version which included this PR was causing this crash in HTTP requests unrelated to Mapbox. After some time of debugging, I found the following: In the older I added the following line to my module dependencies:
And the crash immediately stopped. I believe this PR should have also included this dependency to avoid conflicting versions of |
|
@zholmes1, thanks for pointing this out.
Why is the other Lib relying on a Maybe I'm totally off though, so sorry bout that. Thanks in advance EDIT: Nevermind, you're right, I was able to reproduce this in the example project. EDIT EDIT: |
|
Yes I am using the standard version of the Mapbox Android SDK that ships with this package. I was able to produce the crash in both my emulator and my physical device, which are both running Android 11. You can use I am not extremely well versed in this kind of stuff either, to be honest. It does seem like strange behavior. |
|
thanks for the update 👍🏿 Yeah, would be interesting if this is also happening with a newer SDK without the added dependency |
|
Also experiencing crashes after updating to this version. Adding |
|
@1337LutZ are you also on the default android mapbox SDK? or did you upgrade. |
|
I followed the default installation guide in master branch (8.2.1) + map libre build.gradle app/build.gradle |
|
oh, ok, then you're on the maplibre flavor... will add it to the default dependencies then 👍🏿 |
Awesome! |
* Bump okhttp to 4.9.0 * Update CHANGELOG.md
Description
Checklist
yarn generateCHANGELOG.mdindex.d.ts)/example)Screenshot OR Video