Add sound to iOS notification
This commit is contained in:
@@ -65,6 +65,7 @@ func (fb FirebaseConnector) SendNotification(ctx context.Context, user models.Us
|
|||||||
"notification": gin.H{
|
"notification": gin.H{
|
||||||
"title": msg.Title,
|
"title": msg.Title,
|
||||||
"body": msg.ShortContent(),
|
"body": msg.ShortContent(),
|
||||||
|
"sound": "default"
|
||||||
},
|
},
|
||||||
"apns": gin.H{},
|
"apns": gin.H{},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user