N
Novu3w ago
Yolanta

Push notifications not displaying when the app is in foreground

We're having an issue with push notifications. When the app is running in the foreground, push notifications are not displaying after we successfully trigger the event. However, after we open an app and trigger an even, the push will appear at once.
10 Replies
Yolanta
Yolanta3w ago
@Support Hey, guys, sorry any comment on this?
Pawan Jain
Pawan Jain3w ago
@Yolanta Can you share the code snippet you are using to trigger the workflow?
Yolanta
Yolanta3w ago
Hi, Pawan! Sure! import { Novu } from '@novu/node'; const novu = new Novu('<API_KEY>'); novu.trigger('push-inactive', { to: { subscriberId: '<REPLACE_WITH_DATA>' }, payload: {} });
Novu_Bot
Novu_Bot3w ago
@Yolanta, you just advanced to level 1!
Yolanta
Yolanta3w ago
No description
No description
Yolanta
Yolanta3w ago
After the trigger is activated:
No description
Yolanta
Yolanta7d ago
Do you need a snippet after the trigger is activated? @Pawan Jain Hi, Pawan! We are still exepriencing the same issue. Sorry, I wanted to write "bckground" in the original message. We are not receiving messages when the app is running in the background, which defeats the purpose of push notifications. @Pawan Jain Hey, guys, it's been a week, still not response from you @Support @DevRel @Product
Pawan Jain
Pawan Jain7d ago
@Yolanta Checkout this guide. We have trigger example. Are you sending overrides data? https://docs.novu.co/integrations/providers/push/fcm#sdk-trigger-example
Yolanta
Yolanta6d ago
Hi, Pawan, thank you very much for your response! 🙏 We don't use override, because we use Novu interface button for triggering and sending push notifications. Is it possible to fix the issue on the Novu side? Or override is something which we have to set up even if we want to do everything from the Novu interface? want*
Pawan Jain
Pawan Jain4d ago
@Yolanta Novu dashboard have override field. currently, override is necessary
No description
Want results from more Discord servers?
Add your server