im integrating huawei Services in my app in flutter, and integrating for the backend
I'm using this json to send the push notification
{
"validate_only": false,
"message": {
"data": "{params:{notificationType: Test, ticketId: Test}}",
"android": {
"ttl": "1296000",
"delivery_priority": "HIGH",
"notification": {
"title": data.title,
"body": data.body,
"click_action": {
"type": 3
},
"importance": "NORMAL",
"default_sound": true,
"use_default_vibrate": true,
"use_default_light": true,
"visibility": "PUBLIC"
}
},
"token": tokens,
}
}
But when the device receive the notification this not do anything, and i need to alert the user, with sound and vibrate if is configured
With FCM the notification sound and vibrate when is receive as default but no with huawei services, any idea?