Android - firebase onmessagereceived在后台应用时没有调用 [英] Android - firebase onmessagereceived not called when app in background

查看:102
本文介绍了Android - firebase onmessagereceived在后台应用时没有调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我准备推送通知应用程序。我正在使用firebase来制作它们。我有一个类

MyFirebaseMessagingService和一个函数onMessageReceived。当应用程序在前台时它的工作正常,当应用程序在后台时不起作用。

任何帮助?在此先感谢...



我尝试过:



我试过谷歌没有回答!!我希望我的应用程序在后台运行plz帮助我!

Hello i prepare a push notification app. i am using firebase to make them.i have a class
MyFirebaseMessagingService and a function onMessageReceived. its work normal when the app is on foreground and isn't work when the app is on background.
any help? thanks in advance...

What I have tried:

I tried google no answer !! i want to my app work in background plz help me !

推荐答案

检查:

android - 在后台应用程序时没有调用Firebase onMessageReceived - Stack Overflow [ ^ ]


这篇关于Android - firebase onmessagereceived在后台应用时没有调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆