Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

react native ios create actionable notification

$
0
0

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,

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,

Actionable notification

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,

  1. 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?
  2. Is there any other plugin using that anyone achieve this functionality?
  3. Any iOS guy can suggest me steps or way where I can merge native UNNotificationAction class code into it's didReceiveRemoteNotification method.

Viewing all articles
Browse latest Browse all 16552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>