且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Firebase的同一项目中向两个应用程序之一发送通知

更新时间:2023-11-22 16:48:34

经过大量搜索后,我没有从Firebase那里得到答案来区分2个应用 所以我只是在后台消息服务中添加了一个条件,知道该应用程序是开发版还是主版本,然后如果它是我的正确版本,则推送通知

after a lot of search i didn't got an answer from firebase side to differentiate between 2 apps so i just made a condition into background message service and know if the app is develop or master version and then push the notification if it's my correct version