shijianmei / ProblemTerminator

热修复,基于MangoFix封装的库

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ProblemTerminator

Installation

ProblemTerminator is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'ProblemTerminator'

Use

/// 配置
[JMHotFixManage shareInstance].kAES128Key = @"";
[JMHotFixManage shareInstance].kAES128Iv = @"";
[JMHotFixManage shareInstance].kHotUrl = @"";
[JMHotFixManage shareInstance].kExitHotUrl = @"";
/// 加载包
[[JMHotFixManage shareInstance] loadHotFix];

说明

基于 MangoFix 封装, 实现了拉修复包,缓存,修复等功能。 设计流程图:

基于补丁是从服务端拉取的,有一定的延时,为了不影响启动时间及代码修复,同时也为了减少每次冷启重复的请求,故加入缓存机制。

License

ProblemTerminator is available under the MIT license. See the LICENSE file for more info.

About

热修复,基于MangoFix封装的库

License:MIT License


Languages

Language:Objective-C 84.7%Language:Ruby 13.0%Language:Modula-3 2.4%