Skip to content

Commit

Permalink
Merge pull request #34 from ptdev/patch-1
Browse files Browse the repository at this point in the history
Allow receiving of longer messages
  • Loading branch information
mashlol authored Jul 7, 2018
2 parents 28ccbfe + da3dbb2 commit c0261c6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public void onMessageReceived(RemoteMessage remoteMessage) {
.setSmallIcon(R.drawable.ic_paperplane)
.setContentTitle(title)
.setContentText(text)
.setStyle(new NotificationCompat.BigTextStyle().bigText(text))
.setVibrate(new long[] { 150, 300, 150, 600})
.setSound(RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION))
.setPriority(PRIORITY_MAX)
Expand Down

0 comments on commit c0261c6

Please sign in to comment.