diff --git a/notification.go b/notification.go index 4ead808..8a82e39 100644 --- a/notification.go +++ b/notification.go @@ -232,8 +232,10 @@ func pushNotificationAndroid(req RequestPushNotification) bool { notification.Notification = &req.Notification - // overwrite notification body - notification.Notification.Body = req.Message + // Set request message if body is empty + if len(notification.Notification.Body) == 0 { + notification.Notification.Body = req.Message + } res, err := gcm.SendHttp("api key", notification)