|
|
|
|
@ -131,13 +131,15 @@ class AppNotifications {
|
|
|
|
|
notification.videoURL = message.data["VideoUrl"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Navigator.of(context).push(
|
|
|
|
|
MaterialPageRoute(
|
|
|
|
|
builder: (BuildContext context) => NotificationsDetailsPage(
|
|
|
|
|
notification: notification,
|
|
|
|
|
Future.delayed(Duration(seconds: 5), () {
|
|
|
|
|
Navigator.of(context).push(
|
|
|
|
|
MaterialPageRoute(
|
|
|
|
|
builder: (BuildContext context) => NotificationsDetailsPage(
|
|
|
|
|
notification: notification,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void _handleOpenApp(RemoteMessage message) {
|
|
|
|
|
@ -155,13 +157,15 @@ class AppNotifications {
|
|
|
|
|
notification.videoURL = message.data["VideoUrl"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Navigator.of(context).push(
|
|
|
|
|
MaterialPageRoute(
|
|
|
|
|
builder: (BuildContext context) => NotificationsDetailsPage(
|
|
|
|
|
notification: notification,
|
|
|
|
|
Future.delayed(Duration(seconds: 5), () {
|
|
|
|
|
Navigator.of(context).push(
|
|
|
|
|
MaterialPageRoute(
|
|
|
|
|
builder: (BuildContext context) => NotificationsDetailsPage(
|
|
|
|
|
notification: notification,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|