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
android android-6.0-marshmallow firebase-cloud-messaging android-notifications


source to share


1 answer


update firebase in your project solves my problem



0


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics