Closed dm-AS closed 5 years ago
I played around with Push Notifications yesterday to achieve the similar purpose of navigating to a specific page when the notification is pressed and also tried to use the ActionPerformed event for Push Notifications. I didn't succeed and suppose your issue is similar to mine in this regard. Granted, I haven't tested it fully yet and was going to create an issue after the fact.
Does it happen on Android, iOS or both?
For me it's on both. As a workaround for iOS I use cordova-plugin-local-notifications but that doesn't work on android.
should be fixed in beta 22
I try to implement LocalNotifications into my app but it won't work if the app has been stopped.
As I see it the event fires before the listener is ready. And after that it seems broken because it doesn't work anymore.
I use beta 17 with Ionic 4.0
app.component.ts
I had the listener inside
initializeApp()
before.How can I get it working or is there a workarround?