解决在极光推送的时候会出现一个 JPush提示:缺少统计代码

<span style="font-size:14px;">

@Override
protected void onResume(){
    super.onResume();
    JPushInterface.onResume(this);
}
@Override
protected void onPause(){
    super.onPause();
    JPushInterface.onPause(this);
}


</span>


加到应用的第一个加载的activity生命周期中就好了

关注公众号,分享干货,讨论技术


posted on 2016-04-05 10:24  EvanLong  阅读(250)  评论(0编辑  收藏  举报

导航