How to send actionable or interactive push notifications in iPhone app

Apple has launched interactive push notifications on its iOS 8. Apple has added a new property in the payload with which you can make notifications interact with the app even in lock screen without launching the app.

Here is the payload that needs to be sent along with the badge and other data:

{“aps”:{“badge”:”badge_count”, “category”:”category_name_you_defined_in_your_code_base”,”sound”:”custom.aiff”}}

 

Using this payload in your push notification will make push notifications interact with your app even in the lock screen.

Thanks for dropping by !!! Feel free to comment on this post and as always you can drop me an email at naik899@gmail.com for further information.

Leave a Reply

Your email address will not be published. Required fields are marked *