Open app page when tap on local notification in android

I use a plugin (https://github.com/edsnider/LocalNotificationsPlugin) to create local notifications for ios/android. Everything works well so far. The notifications are displayed and I also have implemented a solution to receive the id of the notification in AppDelegegate in iOS. But Android seems to be different.

In Android I tried to extract the information out of the bundle parameter of onCreate method. But this parameter is always null. After some search I found out that it's correct, because there is no previously-saved state. So my intention is to start the android app when the user clicks on a local notification and get the id in MainActivity. Has someone any idea on this?

Regards,
Toni

Sign In or Register to comment.