Skip to content

Commit

Permalink
Merge pull request arnesson#331 from dferreira1/master
Browse files Browse the repository at this point in the history
added setVisibility VISIBILITY_PUBLIC
  • Loading branch information
robertarnesson authored Jul 5, 2017
2 parents 174b57d + cb43a20 commit 213e9c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/android/FirebasePluginMessagingService.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ private void sendNotification(String id, String title, String messageBody, Map<S
NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this)
.setContentTitle(title)
.setContentText(messageBody)
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
.setStyle(new NotificationCompat.BigTextStyle().bigText(messageBody))
.setAutoCancel(true)
.setSound(defaultSoundUri)
Expand Down

0 comments on commit 213e9c0

Please sign in to comment.