flutter,iOS通知跳转问题
flutter开发的,iOS版本,通知的数据也是都能够拿到,就是在Navigator.push
时没有任何反应,代码如下,
onOpenNotification: (Map<String, dynamic> message) async {
jpush.clearAllNotifications(); //清除通知栏上所有通知
print('---------------------------------2');
var _id = message['customer'];
var _organization = message['organization'];
Navigator.push(
context,
new MaterialPageRoute(
builder: (context) => new HomeMan(
manId: _id, tabInitial: 0, organization: _organization)));
// spikToDetailJpush(_id, _organization);
},