Failed to resolve Intent Service Android

后端 未结 2 1679
南笙
南笙 2020-12-17 01:26

I am getting following error when trying to configure Push Notification:

06-07 01:05:59.735 18708-18708/com.ebr.apps.ebr.development E/FirebaseInstanceId: Fa         


        
相关标签:
2条回答
  • 2020-12-17 01:47

    If your coming from a search engine: you might have as well run into this bug, which affects also the current version com.google.android.gms:play-services-gcm:9.8.0

    https://github.com/firebase/quickstart-android/issues/72

    It was not yet possible to reproduce the bug and it is not fully understood how the situation can happen but you might be interested in following the thread.

    0 讨论(0)
  • 2020-12-17 01:49

    I found the solution, the problem was that Instabug GCMListener was conflicting with my GCMListener. I set the priority of my gcm listener and it started working.

    <service
        android:name=".GCM.PushNotificationService"
        android:exported="false">
        <intent-filter android:priority="10000">
            <action android:name="com.google.android.c2dm.intent.RECEIVE"/>
        </intent-filter>
    </service>
    
    0 讨论(0)
提交回复
热议问题