Launch notification
If the application was launched from a notification you can retrieve the data of the notification like this, this will be null if the application was launched normally:
1
Map<String, dynamic> launchNotification = await MPush.launchNotification();
2
print(launchNotification);
Copied!
Last modified 11mo ago
Copy link