N
Novu3mo ago
Laiix

IOS and Android Push Notifications

We are to send push notifications through novu to ios and android devices the pushes work in app but not as the push itself. Any idea?
4 Replies
Ask Inkeep
Ask Inkeep3mo ago
Hi @Laiix, I'm an AI assistant for Novu. While a team member reviews this question, I'll look through relevant sources and see if I can provide suggestions. Please tag @Ask Inkeep with any follow-up questions. ----------------------------- While I generate an answer, here are some sources that might be helpful: * How to send PUSH notifications to iOS devices with FCM using Novu * How to send push notifications in an Android app (react native) with FCM and Novu * Push Channel Introduction * Zulip ----------------------------- Answer It sounds like your push notifications are being received in your app but not as standalone push notifications on the device. For this scenario, ensure that: 1. For Android, the notification's priority is set properly. High-priority messages are delivered immediately. Adjust the priority in the payload if needed. Check the guide on sending push notifications in an Android app with FCM and Novu for more details on setting priorities (1) . 2. For iOS, test sending a push notification directly through the Firebase console to ensure your device setup and token are correct. This can help isolate if the issue is with the configuration on the Firebase or iOS side. Follow the steps in the guide for sending push notifications to iOS devices with FCM using Novu (2) . 3. Ensure your device tokens or identifiers are correctly stored in the subscriber profile in Novu. If a device token is incorrect or not properly configured, push notifications may fail to deliver externally. The documentation on using the push channel with Novu outlines the process to add a push channel provider, configure workflows, and store device tokens (3) . 4. Review any provider-specific settings and configurations. Novu supports multiple providers for push notifications, including FCM for both iOS and Android. It's crucial to ensure that all provider-specific configurations are correctly set up according to the documentation. If these steps don't resolve the issue, it could be related to the notification payload or specific configurations within your Novu workflow. Ensure that your pus
Ask Inkeep
Ask Inkeep3mo ago
Pawan Jain
Pawan Jain3mo ago
@Laiix Could you please explain a bit more? the pushes work in app but not as the push itself.
Laiix
Laiix3mo ago
these overrides were missing to see the push itself def overrides = [ fcm: [ type: "data", data: payload, apns: [ "payload": [ "aps": [ "alert": [ "title": message.subject, "body": message.body ], "sound": "default", "badge": 1 ] ] ], android: [ notification: [ "title": message.subject, "body": message.body, "defaultSound": true, ] ] ] ]
Want results from more Discord servers?
Add your server
More Posts
python novu trigger topic to Slack not working in docker-composeHi Novu team, I built Novu locally using docker-compose, and trigger messages to a subscriber, it wIs there a V0.23.0 of Novu nuget package? for Global preferenceHow can I use it? i want to use GlobalSubscriberPreference API which was introduced in V0.20 but nuNot able to promote changes to workflowHi, I've done changes to a workflow (edited a trigger condition and added another to an sms variant)Not able to handle primaray/secondary actions through cdn embed.I am only able to run this piece of code with iframe. I want to use this with the cdn embed. PleaseI have two applications that require email sending functionality via MailgunI have two applications that require email sending functionality via Mailgun, using separate domainsI have two applications that require email sending functionality via Mailgun, using separate domainsI have two applications that require email sending functionality via Mailgun, using separate domainsExpo issue with ios push notificationHow do I fix this? The token attached to the subscriber is for IOS device, we are trying to send pusLocal setup using Docker.Hello Team, Could you please advise on setting up my local environment using Docker?MARKING NOTIFICATIONS AS SEENThere seems to be no way using the api to mark the notificaiton as seen, I want to mark it as seen sUser avatar not uploadedI'm updating the user info passing in a link for the user avatar, but the `avatar` field doesn't sho