嗨我想在flutter中实现推送通知如何显示为通知可以任何一个帮助,我能够听,因为我收到通知但我无法看到消息,它显示为警报,但我想作为通知可以任何一个帮助,在Android或iOS我们应该在清单文件和应用程序委托文件中的这个在颤动
我的代码看起来像这样
class PushMessagingExample extends StatefulWidget {
@override
_PushMessagingExampleState createState() => new _PushMessagingExampleState();
}
class _PushMessagingExampleState extends State {
String _homeScreenText = "Waiting for token...";
bool _topicButtonsDisabled = false;
final FirebaseMessaging _firebaseMessaging = new FirebaseMessaging();
final TextEditingController _topicController =
new TextEditingController(text: 'topic');
Future _showItemDialog(Map message) async {
final Item item = _itemForMessage(message);
showDialog(
context: context,
child: new AlertDialog(
co