jmessage_flutter

标签: #<Tag:0x00007f65880f7108>

jmessage_flutter代码中, JMMessageSendOptions.fromJson的isShowNotification=json[‘roomId’],这里我怎么觉得不太对啊,roomId应该改成isShowNotification吧

没理解你的意思,文档里面这个值都是传 true 或 false

sendTextMessage函数中有一个messageSendingOptions参数,它的反序列化中,也就是JMMessageSendOptions.fromJson 方法,isShowNotification = json[‘roomId’]应该改成isShowNotification = json['isShowNotification ']吧

https://github.com/jpush/jmessage-flutter-plugin/blob/master/lib/jmessage_flutter.dart 我是说源码不对

该情况已反馈给研发查看