我正在创建一个从Firebase消息接收通知的过程。我遵守了指示,。我写了如下代码。下面是打开应用程序后的控制台。有什么我错过的吗?如何接收通知消息?
添加:当我设置通知消息,然后设置2.目标时,我注册了一个应用程序,并选择它作为目标。但是在app的目标之下,有像The 0% of potential users satisfy the conditions of this campaign这样的消息(我是韩国人,我把消息翻译成英语,
它有时可以工作,但有时不能,并显示错误"Ignoring X-Firebase-Locale was It value its null“。通常我解决这个问题的方法就是重新加载应用程序,但是有没有办法解决这个问题呢?我的代码import 'package:firebase_auth/firebase_auth.dart';
class AuthenticationService: