pmusolino / Wormholy

iOS network debugging, like a wizard 🧙‍♂️
MIT License
2.31k stars 184 forks source link

Wormholy deletes Url cache when offline mode #102

Closed lukluca closed 2 years ago

lukluca commented 3 years ago

Hi! Seems that Wormholy deletes the url cache of Alamofire. I have a url request send with Alamofire, and in case of offline mode, i set the url request with CachePolicy.returnCacheDataDontLoad. If I remove Wormholy from my dependency, the app works as expected.

Wormholy version 1.6.4, Alamofire version 5.4.3, iOS version 14.4.2

pmusolino commented 2 years ago

I released a new (big) version of Wormholy (1.6.5) with some improvements and fixes. https://github.com/pmusolino/Wormholy/releases/tag/1.6.5 Can you test it and let me know if you are still encountering this issue?

lukluca commented 2 years ago

Sorry @pmusolino, I just read your reply <-.->. Now seems ok!

Wormholy version 1.6.5, Alamofire version 5.6.1, iOS version 15.5