推送的isshowpop适配
This commit is contained in:
@@ -54,7 +54,7 @@ class NotificationService: UNNotificationServiceExtension {
|
||||
contentHandler(bestAttemptContent)
|
||||
}else{
|
||||
// 当group中没有订单类型的数据时才写入
|
||||
if let isShowPop = (userInfo[pushNoti_isShowPop_key] as? Bool), isShowPop == true {
|
||||
if GROUP.isShowPopPushNotification(userInfo: userInfo) == true {
|
||||
if let userInfo = GROUP.bestAttemptContentUserInfo,GROUP.isOrderPushNotification(userInfo: userInfo) == true {
|
||||
}else{
|
||||
GROUP.setBestAttemptContentUserInfo(bestAttemptContentUserInfo: userInfo)
|
||||
@@ -101,7 +101,7 @@ class NotificationService: UNNotificationServiceExtension {
|
||||
contentHandler(bestAttemptContent)
|
||||
}else{
|
||||
// 当group中没有订单类型的数据时才写入
|
||||
if let isShowPop = (userInfo[pushNoti_isShowPop_key] as? Bool), isShowPop == true {
|
||||
if GROUP.isShowPopPushNotification(userInfo: userInfo) == true{
|
||||
if let userInfo = GROUP.bestAttemptContentUserInfo,GROUP.isOrderPushNotification(userInfo: userInfo) == true {
|
||||
}else{
|
||||
GROUP.setBestAttemptContentUserInfo(bestAttemptContentUserInfo: userInfo)
|
||||
|
||||
Reference in New Issue
Block a user