Axel Srz
Axel Srz

Reputation: 58

OneSignal mutable-content iOS 10

I'm new on StackOverflow but I have this problem that I implemented everything to handle the new iOS 10 rich notifications but my push notifications service (OneSignal) doesn't let me configure the payload when sending a push notification. It just let me add custom parameters at the same level that aps, but I need to add the 'mutable-content: 1' inside the aps. Does anyone know how to do it?

Thank you!

Upvotes: 2

Views: 1416

Answers (1)

jkasten
jkasten

Reputation: 3948

OneSignal just released a mutable_content option today. Set it to true in your payload to the OneSignal create notification REST API POST call.

"mutable_content": true

Upvotes: 2

Related Questions