I’m using ionic3 fcm plugin and local notification , everything work fine on android, but on ios when i’m in foreground the notification didn’t appear:
"@ionic-native/local-notifications": "^4.18.0",
"@ionic-native/fcm": "^4.18.0",
"cordova-plugin-fcm-with-dependecy-updated": "^2.4.0",
"cordova-plugin-local-notification": "^0.9.0-beta.3",
this._localNotifications.schedule({
id: 1,
text: (data.text ? data.text : data.description),
icon: "file://assets/icon/fcm_push_icon.png",
smallIcon: "file://assets/icon/fcm_push_icon.png",
color: "#424242",
foreground: true,
data: {url: data.url}
})
anyone know what’s the problem ?