Marshmallow 6.0.1 onMessageReceived () is called multiple times

I am using Firebase push notifications. All other mobile devices show one notification, but my Marshmallow 6.0.1 shows 40 to 50 notifications. google.message_id

changes every time.

@Override
public void onMessageReceived(String from, Bundle data) {
    // this method is called multiple times
}

      

+3


source to share


1 answer


update firebase in your project solves my problem



0


source







All Articles