Push notification not working when app is in foreground #3623
Replies: 4 comments 2 replies
-
@dwieeb Can you help? Or mention someone who can? |
Beta Was this translation helpful? Give feedback.
-
You can check the answer here and see if that helps you out #3286 |
Beta Was this translation helpful? Give feedback.
-
Im also facing same. issue |
Beta Was this translation helpful? Give feedback.
-
Im also facing same issue can you please help me on this |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have recently migrated to capacitor from cordova. I am having issues with push notification when app is in foreground.
In cordova-plugin-firebasex you have need to add notification_foreground as true in additional data and you will get a push
I am not finding any way to force show push notification when app is in foreground.
https://capacitorjs.com/docs/apis/push-notifications#push-notifications-appearance-in-foreground
I have followed the instructions and added this code in
capacitor.config.json
But I dont get push notification alert when app is in foreground.
In background everything works as expected. Need help..!!!
Beta Was this translation helpful? Give feedback.
All reactions