|  | @@ -83,16 +83,22 @@ public class App extends BaseApplication {
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          initFileDownload();
 | 
	
		
			
				|  |  |          //极光推送
 | 
	
		
			
				|  |  | -        //用户同意之后才初始化极光推送
 | 
	
		
			
				|  |  | -        JPushInterface.setDebugMode(true);
 | 
	
		
			
				|  |  | -        JCollectionAuth.setAuth(this, UserHelper.isAgreePrivacy());
 | 
	
		
			
				|  |  | -        JPushInterface.setBadgeNumber(this,0);
 | 
	
		
			
				|  |  | -        registrationId = JPushInterface.getRegistrationID(this);
 | 
	
		
			
				|  |  | +        initJiguang();
 | 
	
		
			
				|  |  |          initBugly();
 | 
	
		
			
				|  |  |          initIM();
 | 
	
		
			
				|  |  |          initUmeng();
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    private void initJiguang(){
 | 
	
		
			
				|  |  | +        //用户同意之后才初始化极光推送
 | 
	
		
			
				|  |  | +        JPushInterface.setDebugMode(true);
 | 
	
		
			
				|  |  | +        JCollectionAuth.setAuth(this, UserHelper.isAgreePrivacy());
 | 
	
		
			
				|  |  | +        if (UserHelper.isAgreePrivacy()) {
 | 
	
		
			
				|  |  | +            JPushInterface.init(this);
 | 
	
		
			
				|  |  | +            JPushInterface.setBadgeNumber(this, 0);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      private void initBugly() {
 | 
	
		
			
				|  |  |          if (UserHelper.isAgreePrivacy()) {
 | 
	
		
			
				|  |  |              CrashReport.initCrashReport(getApplicationContext(), "b51fd73164", false);
 |