I have checked with many blogs and examples.But I am not getting proper documentation or steps to add actions in iOS push notification.
My application builds using latest versions,
- react-native => 0.62.2
- react => 16.11.0
- PushNotificationIOS Plugin => 1.2.2(Find plugin more details here)
So using this plugin I am able to get normal notification, but in some case I need user action so want create Notification with Accept and Decline button. like below image,
Also I have tried with react-native-ios-notification-actions plugin. But this plugin is not working with my current PushNotificationIOS plugin.
So my question is,
- How I can register action as there is option given in plugin documentation to handle actionable parameter but not sure how to register it before sending the notification?
- Is there any other plugin using that anyone achieve this functionality?
- Any iOS guy can suggest me steps or way where I can merge native UNNotificationAction class code into it's didReceiveRemoteNotification method.