IOS 10 FireBase when a notification is received, do not receive a NotificationService.h Notification service extension

I am using firebase and am getting successful notifications, but when notification is received, don't get Call NotificationService.h Extension Service Extension. I also installed

NSExtensionPrincipalClass to NotificationService

NSExtensionPointIdentifier for com.apple.usernotifications.service

My notice is like

{   
"registration_ids": ["devicetoken"],    
"mutable_content": true,    
"data":{        
       "post_details": {
      "pcm_message": "asdf",
      "pcm_img_url": "http://portalvhds34w6bf5z9b21h.blob.core.windows.net/images/1519365008_5a8fab90cf683.jpg",
    }

   },    

"notification" : {
    "title" : "demo push",
    "body" : "this is push body"    } 

}

      

where is the problem or is missing some information i already asked for deploying target 10.0 across my whole project.

+1


source to share





All Articles