|
@@ -103,6 +103,7 @@ public class App extends BaseApplication {
|
|
|
//用户同意之后才初始化极光推送
|
|
|
JPushInterface.setDebugMode(true);
|
|
|
JCollectionAuth.setAuth(this, UserHelper.isAgreePrivacy());
|
|
|
+ JPushInterface.setBadgeNumber(this,0);
|
|
|
registrationId = JPushInterface.getRegistrationID(this);
|
|
|
initBugly();
|
|
|
initRong();
|