# firebase_messaging_event Ensures that there is only one `` with `` has an `` for `com.google.firebase.MESSAGING_EVENT` without specifying an `android:priority` ## Exports The services which have an `` for `com.google.firebase.MESSAGING_EVENT` present in `AndroidManifest.xml` ### Example ```json { "filters":[ { "name":"com.google.firebase.messaging.FirebaseMessagingService", "priority":-500 }, { "name":"com.leanplum.LeanplumPushFirebaseMessagingService", "priority":0 }, { "name":"io.teak.sdk.push.FCMPushProvider", "priority":0 } ] } ``` ## Reason If multiple listeners for `com.google.firebase.MESSAGING_EVENT` exist, only the highest priority `` will receive the message. This can cause unexpected behavior. ## Resolution Remove the `` blocks which have `` for `com.google.firebase.MESSAGING_EVENT`, or add `android:priority` to the `` to manually specify which `` will process the message. For example, this gets inserted by Firebase automatically, and sets its priority to `-500`: ```xml ```