Hunter icon indicating copy to clipboard operation
Hunter copied to clipboard

is:issue is:open OkHttp进行hook OkHttpClient$Builder#eventFactory时没有将原来的factory会wrapper进去,这样会导致原有的逻辑丢失的风险的

Open livelitoday opened this issue 2 years ago • 2 comments

livelitoday avatar May 15 '22 12:05 livelitoday

@livelitoday 嗯,是会有这个问题,有没有兴趣来支持一下,主要是改这个模块,可以添加一个新的eventFactory,让它去调原有的evetnFactory基础上,再调用全局的新的eventFactory。 https://github.com/Leaking/Hunter/blob/master/hunter-okhttp-library/src/main/java/com/hunter/library/okhttp/OkHttpHooker.java

你提一个PR,我review一下,然后发一个新包

Leaking avatar May 16 '22 11:05 Leaking

ok,我试着改下

livelitoday avatar May 17 '22 01:05 livelitoday