Skip to content

Commit

Permalink
Update doc about init.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhi1ong committed Jul 12, 2017
1 parent aa57975 commit 8c69722
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public class YourActivity extend Activity {

3. 初始化SDK
``` java
if (isDebug()) {
if (isDebug()) { // 这两行必须写在init之前,否则这些配置在init过程中将无效
ARouter.openLog(); // 打印日志
ARouter.openDebug(); // 开启调试模式(如果在InstantRun模式下运行,必须开启调试模式!线上版本需要关闭,否则有安全风险)
}
Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public class YourActivity extend Activity {

3. 初始化SDK
``` java
if (isDebug()) {
if (isDebug()) { // 这两行必须写在init之前,否则这些配置在init过程中将无效
ARouter.openLog(); // 打印日志
ARouter.openDebug(); // 开启调试模式(如果在InstantRun模式下运行,必须开启调试模式!线上版本需要关闭,否则有安全风险)
}
Expand Down

0 comments on commit 8c69722

Please sign in to comment.