I am receiving notification using Firebase but now I want to add action buttons in ios push notification.
For displaying a notification in foreground I am using below code,
const localNotification = new firebase.notifications.Notification() .setTitle(title) .setBody(body); firebase .notifications() .displayNotification(localNotification) .catch(err => console.log('displayNotification error', err));
react-native-firebase v5.0 is used.