Allow expandable notifications for long text messages. (#393)

This commit is contained in:
shbatm 2020-02-12 15:31:52 -06:00 committed by GitHub
parent bbe9d469e7
commit d00e75387f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -179,6 +179,8 @@ class MessagingService : FirebaseMessagingService() {
builder
.setContentTitle(data[TITLE])
.setContentText(data[MESSAGE])
.setStyle(NotificationCompat.BigTextStyle()
.bigText(data[MESSAGE]))
}
private suspend fun handleImage(