Pushwoosh not working in the release build of Unity

前端 未结 1 2021
长情又很酷
长情又很酷 2021-01-29 08:11

I was trying to integrate Pushwoosh with Unity. The latest version needed me to actually use pro guard with gradle as there was multidex error. After that there were duplicate f

相关标签:
1条回答
  • 2021-01-29 09:08

    I found the answer, seems like this issue was only occurring with Samsung phones. I searched around and tried adding this to the Manifest file. (In the "application" tag for those wondering.)

    <service
        android:name=".FirebaseInstanceIdRouterService">
        <intent-filter>
            <action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
        </intent-filter>
    </service>
    
    <service
        android:name=".FirebaseMessagingRouterService">
        <intent-filter>
            <action android:name="com.google.firebase.MESSAGING_EVENT"/>
        </intent-filter>
    </service>
    

    Seems like Samsung might have been using Firebase services in the background which conflicts with the pushwoosh using FCM services. Anyway..seems like this works for me.

    Where I found it, for further study purposes.

    0 讨论(0)
提交回复
热议问题