From 3f00143a5a452e6088cdabce50b0945462bade11 Mon Sep 17 00:00:00 2001 From: huangminlinux <380108184@qq.com> Date: Wed, 11 Oct 2017 11:26:46 +0800 Subject: [PATCH] update doc remove startLocalNotification event --- doc/iOS_API.md | 2 -- src/ios/Plugins/JPushDefine.h | 1 - 2 files changed, 3 deletions(-) diff --git a/doc/iOS_API.md b/doc/iOS_API.md index 883fea2..77737a4 100644 --- a/doc/iOS_API.md +++ b/doc/iOS_API.md @@ -437,9 +437,7 @@ window.JPush.clearAllLocalNotifications() 监听 [jpush.receiveNotification](#前台收到推送)、[jpush.openNotification](点击推送通知),获取推送内容后,通过获取到的 `__JPUSHNotificationKey` 字段([本地通知](#本地通知) 设置的 `notificationID`)来判断是本地通知,并处理。 -### 点击本地通知横幅启动 App -监听 `jpush.startLocalNotification` 事件。 ## 页面的统计 diff --git a/src/ios/Plugins/JPushDefine.h b/src/ios/Plugins/JPushDefine.h index 379ceee..7307ea7 100644 --- a/src/ios/Plugins/JPushDefine.h +++ b/src/ios/Plugins/JPushDefine.h @@ -27,7 +27,6 @@ static NSString *const JPushDocumentEvent_OpenNotification = @"openNoti static NSString *const JPushDocumentEvent_BackgroundNotification = @"backgroundNotification"; static NSString *const JPushDocumentEvent_SetTagsWithAlias = @"setTagsWithAlias"; static NSString *const JPushDocumentEvent_ReceiveMessage = @"receiveMessage"; -static NSString *const JPushDocumentEvent_StartLocalNotification = @"startLocalNotification"; static NSString *const JPushDocumentEvent_ReceiveLocalNotification = @"receiveLocalNotification"; static NSString *const JPushDocumentEvent_receiveRegistrationId = @"receiveRegistrationId";