Local notification + fcm on IOS


We are using the fcm-with-dependecy-updated plugin https://github.com/andrehtissot/cordova-plugin-fcm-with-dependecy-updated with local notification plugin https://github.com/katzer/cordova-plugin-local-notifications . Our scenario is we send data message and use local notification to trigger the notification in system tray . It works fine in android for Foreground and background. But in IOS notification is not getting triggered when app is in foreground or background. Can anyone please help ?

Below is our code snippet.

this.fcm.onNotification().subscribe((payload) => {
this.pushPayload = payload;
console.log("onMessage Received "+JSON.stringify(this.pushPayload));
let value: string = this.pushPayload[“value”];
id: this.id,
title: ‘Notification’,
text: value