Meituan-Dianping / Robust

Robust is an Android HotFix solution with high compatibility and high stability. Robust can fix bugs immediately without a reboot.
Apache License 2.0
4.4k stars 805 forks source link

关于针对同一apkHash下发的补丁疑惑。 #426

Closed YummyLau closed 3 years ago

YummyLau commented 3 years ago

目前在接入Robust过程中,在设计服务端下发补丁逻辑中有以下疑惑。 我们通过apkHash来判断客户端是否应用补丁,但是 applyPatchList参数是一个 List ,一般一个版本下发一个补丁足够? 为何会设计加载多个补丁的,而且这多个补丁是累加在同一个apkHash 的应用上。

补充一下:多个补丁的内容可能会因为加载顺便而存在覆盖,作者在设计多个补丁的时的初衷时想让多个补丁作用到不同的class上吗?