From 8dba1a4c5e06dee2a4eba894b3b5fbd0b04bfe42 Mon Sep 17 00:00:00 2001 From: Pikachu <57380422@QQ.com> Date: Fri, 25 Mar 2016 19:43:10 +0800 Subject: [PATCH] Update JPushPlugin.m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1.修复 iOS8 以下不能注册推送的bug --- src/ios/Plugins/JPushPlugin.m | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ios/Plugins/JPushPlugin.m b/src/ios/Plugins/JPushPlugin.m index 68c96ae..6e78278 100644 --- a/src/ios/Plugins/JPushPlugin.m +++ b/src/ios/Plugins/JPushPlugin.m @@ -35,13 +35,11 @@ static NSDictionary *_luanchOptions = nil; UIUserNotificationTypeAlert) categories:nil]; } else { -#ifndef __IPHONE_8_0 //categories 必须为nil [JPUSHService registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert) categories:nil]; -#endif } }