N
Novu2mo ago
Avinash

need actual message instead of "new Notification"

i am getting push notification like screenshot instead of showing main message it showing new Notification, any solution?
No description
6 Replies
Ask Inkeep
Ask Inkeep2mo ago
Hi @Avinash, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question. ----------------------------- While I generate an answer, here are some sources that might be helpful: * How to send push notifications to Flutter apps (Android & iOS) with FCM using Novu * Firebase Cloud Messaging (FCM) * How to send push notifications in an Android app (react native) with FCM and Novu * Push -----------------------------
Ask Inkeep
Ask Inkeep2mo ago
Answer Sorry, I wasn't able to find any information about your specific issue with "new Notification" appearing instead of the main message in push notifications. However, I can provide some general information about setting up push notifications with Novu that might be helpful. When setting up push notifications, it's important to properly configure the content of the notification in your workflow. (1) You can set the title and content of the push notification in the Novu dashboard when creating your workflow. If you're still experiencing issues, you might want to check your FCM configuration and ensure that you're properly handling the push notifications in your app. (2) For more detailed troubleshooting, you might want to review these resources: 1. How to send push notifications to Flutter apps with FCM using Novu 2. Firebase Cloud Messaging (FCM) integration with Novu 3. How to send push notifications in an Android app (react native) with FCM and Novu If you're still having trouble after reviewing these resources, I suggest clicking on the "Ask for help" button to tag a team member who can review your specific setup and provide more tailored assistance.
Ask Inkeep
Ask Inkeep2mo ago
Feel free to tag @Ask Inkeep with additional questions. Got it. Tagging @Support for additional help.
Pawan Jain
Pawan Jain2mo ago
@Avinash Could you please check if you have hardcoded New Notification somewhere client side?
Avinash
Avinash2mo ago
curl -X POST 'https://api.novu.co/v1/events/trigger' \ -H 'Authorization: ApiKey NOVU_SECRET_KEY' \ -H 'Content-Type: application/json' \ -d '{ "name": "sassari-alert", "to": { "subscriberId": "avinash.uteka@gmail.com", "email": "avinash.uteka@gmail.com" }, "payload": { "building_id": 235, "trigger_name": "sassari-alert", "project_id": 147, "alert_type": 104, "title": "Power reached over threshold.", "description": "Power reached over 500% in last 5 minutes\nfor the building building 1 with the device shellyem-485519D70B85" }, "overrides": { "fcm": { "type": "data", "imageUrl": "https://app.staging.preflet.com/_nuxt/img/logo.77c72cf.png" } } }' this is my payload @Pawan Jain
Pawan Jain
Pawan Jain2mo ago
@Avinash Thanks for sharing the trigger code snippet. If you can check if you have not hardcoded New notification as title in client side push implementation
Want results from more Discord servers?
Add your server