Close verify Signature by default

This commit is contained in:
zhangjiongxuan 2017-07-10 11:22:48 +08:00
parent aea2c500ec
commit 1d02000da0

View File

@ -40,7 +40,7 @@ public final class RePluginConfig {
private RePluginEventCallbacks eventCallbacks;
private File pnInstallDir;
private boolean verifySign = true;
private boolean verifySign = false;
private boolean persistentEnable = true;
private String persistentName = RePluginConstants.PERSISTENT_NAME_DEFAULT;
private boolean useHostClassIfNotFound = false;
@ -130,8 +130,9 @@ public final class RePluginConfig {
}
/**
* 设置插件是否开启签名校验 <p>
* 注意该功能仅针对纯APK插件p-n插件已默认开启了签名校验
* 设置插件是否开启签名校验默认为False但强烈建议开启此开关 <p>
* 此开关将必须和 RePlugin.addCertSignature 配合使用<p>
* 注意该功能仅针对纯APK插件
*
* @param verifySign
* @return RePluginConfig自己这样可以连环调用set方法