@pliablepixels wrote:
Not really an ionic issue, but hopefully folks here have some advice to share.
I’ve been trying to solve how to “reliably” detect when a user taps on a notification vs. tapping on the app icon. The detection needs to reliably work across the following situations:
- App is in foreground (trivial case, works well)
- App is in background, user taps on notification vs user taps on app icon (works well, I’ve realized that in this case if you tap on a notification, a “dismissed” flag will be added)
- App is killed, user taps on a notification vs. user taps on icon - I’ve been struggling trying to solve this.
I am currently using https://github.com/phonegap/phonegap-plugin-push and I can’t seem to find a reliable way to do this detection. I’ve noted behavior here and here
I’ve tried
force-start
as well. It seems the alternate plugin,cordova-plugin-fcm
hasn’t been updated for 6 months and has compilation issues.So for folks who are doing push related work, and have handled item 3, how are you doing it?
Posts: 1
Participants: 1