Unity3d Pushwoosh在Unity的发布版本中不工作
我试着把Pushwoosh和团结结合起来。最新版本需要我在gradle中实际使用pro guard,因为存在多索引错误。之后,由于proguard,出现了重复的文件错误,我通过创建一个pro guard user.txt文件并添加以下行修复了该错误Unity3d Pushwoosh在Unity的发布版本中不工作,unity3d,pushwoosh,Unity3d,Pushwoosh,我试着把Pushwoosh和团结结合起来。最新版本需要我在gradle中实际使用pro guard,因为存在多索引错误。之后,由于proguard,出现了重复的文件错误,我通过创建一个pro guard user.txt文件并添加以下行修复了该错误 -keep com.pushwoosh.** {*;} -dontwarn com.pushwoosh.** 现在,当我修复了所有问题并在所有设备中正常运行pushwoosh时,就会出现某些设备,它们在发布版本中不会收到通知。(调试生成没有问题。
-keep com.pushwoosh.** {*;}
-dontwarn com.pushwoosh.**
现在,当我修复了所有问题并在所有设备中正常运行pushwoosh时,就会出现某些设备,它们在发布版本中不会收到通知。(调试生成没有问题。)
有人能帮我吗?有什么原因呢?我找到了答案,似乎这个问题只发生在三星手机上。我四处搜索并尝试将其添加到清单文件中。(对于那些想知道的人,请在“应用程序”标签中。)
<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>