chucker icon indicating copy to clipboard operation
chucker copied to clipboard

Hawk library is unable to write or read parcelable objects after upgrading chucker to 4.1.0

Open AdarshRevankar opened this issue 1 year ago • 4 comments

:writing_hand: Describe the bug

Previously I was working with chucker on debugImplementation with version 3.5.2 and after migrating to android 15, chucker wasn't looking correctly with UI. So, I migrated to 4.1.0. Since then hawk is not able to store / read custom parcelable objects. This is not visible once we revert back to 3.5.2

:bomb: Steps to reproduce

  1. Add hawk latest dependency and chucker 4.1.0
  2. Try saving a custom parcelable data class object with Hawk.put operation
  3. If we perform Hawk.get operation against the key used, we get null all the time

:wrench: Expected behavior

Haw.get operation should have returned the custom object saved against the key

:iphone: Tech info

  • Device: Nothing Phone 2a
  • OS: Android 15
  • Chucker version: 4.1.0

:page_facing_up: Additional context

I'm not sure which library conflict is causing this odd behaviour, If at all chucker team can verify an provide a help that will be great

AdarshRevankar avatar Jan 13 '25 04:01 AdarshRevankar

What is Hawk?

cortinico avatar Jan 13 '25 11:01 cortinico

Sorry forgot to mention about Hawk library

https://github.com/orhanobut/hawk

AdarshRevankar avatar Jan 13 '25 16:01 AdarshRevankar

So, I migrated to 4.1.0. Since then hawk is not able to store / read custom parcelable objects

Have you opened an issue for the hawk library as well?

cortinico avatar Jan 13 '25 19:01 cortinico

So, I migrated to 4.1.0. Since then hawk is not able to store / read custom parcelable objects

Have you opened an issue for the hawk library as well?

No, not yet. This issue arose only when I update chucker from 4.0.0 -> 4.1.0

AdarshRevankar avatar Jul 04 '25 12:07 AdarshRevankar