-
Notifications
You must be signed in to change notification settings - Fork 267
Description
trying to build my own UI when receiving a Push on iOS 10, I'm using Pusher ( https://github.com/noodlewerk/NWPusher ) to build and send payloads to APNS in my Dev environment. everything is working fine and didReceiveNotificationRequest is being called in the notification extension.
my payload in Pusher is the following :
{"aps":{
"alert":{
"title": "This is an iOS 10 Push!",
"subtitle": "Notification subtitle is displayed when you 3D touch",
"body": "this is the push body displayed when you 3D touch the notification popup"
},
"mutable-content":1,
"content-available" : 1 },
"customInfo" : {
"title" : "This is our push title in the advanced screen",
"imageLink" : "http://cms.geteve.de/assets/looksimages/150922-FischgraetenFake-Cynthia-Nathalie-01-Step-1.jpg",
"intro" : "Haare gut durchkämen. Dann einen seitlichen Zopf binden und am oberen Ende eine Lücke bilden",
"contentSlug" : "perfekte-rote-lippen",
"video" : "http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4"
}
}
Switched to OneSignal, I receive normal pushes but when I set the mutable-content to true, the didReceiveRemoteNotification in my appdelegate is called but the Notification extension don't!
If you can investigate this and will be great if you add a new target to the example project with support to Notification service extension + Notification content.