Skip to content

Commit

Permalink
Remove check for title in background firebase notifications (#612)
Browse files Browse the repository at this point in the history
* Remove check for title in background firebase notifications
Background notifications can still contain a title key, and this is erroneously not showing notifications that it should be.
This fixes getInitialNotification() on Android.

* Add back semicolon
  • Loading branch information
aniravi24 authored May 13, 2020
1 parent bba478d commit 30de155
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public Bundle asBundle() {
}

public boolean isFirebaseBackgroundPayload() {
return mBundle.containsKey("google.message_id") && !mBundle.containsKey("title");
return mBundle.containsKey("google.message_id");
}

@Override
Expand Down

0 comments on commit 30de155

Please sign in to comment.