FireBase Messaging:OnMessageReceived Only仅在应用程序位于前台时发生

时间:2017-11-14 09:58:22

标签: firebase xamarin xamarin.android firebase-cloud-messaging firebase-notifications

我创建了一个应用程序,并为推送通知添加了firebase服务。 如果我从服务器发送通知,手机将重新收到消息并将其显示在通知区域中,但我的自定义代码在方法" OnMessageReceived"不会被解雇。

只有在应用程序位于前台时才会执行...

0 个答案:

没有答案