question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remote Notification tap handler is missing

See original GitHub issue

I have setup remote notifications and everything is working fine on both iOS and Android devices. All notifications are showing in background and foreground state, but when I tap on a notification app launches only and not navigating user to the appropriate screen e.g. Chat or comments page according to the notification type.

when I remove following code line then app automatically navigates user to the detail screen based on notification type when notification is shown and does not wait for user to tap on notification.

if (userInteraction == false) return

Here is my code: Screenshot 2019-12-12 at 11 03 09 AM Screenshot 2019-12-12 at 11 03 47 AM

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

2reactions
sparshcommented, Dec 19, 2019

I am facing the notification tap handling issue. When I tap on notification (and app is closed) I am not getting userInteraction value as true. it is working fine when app is open. @anilios did you found any solution ?

2reactions
Naomarikcommented, Dec 14, 2019

This particular bit of critical functionality was also broken for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS app loads buggy when launching from a remote notification
The problem was that my app was configured to receive background push notifications and it would launch the app in the background (before ......
Read more >
iOS 10 silent push notification no… | Apple Developer Forums
I have an app in which I'm trying to receive and handle SILENT push notifications. I'm registering for APNs as follows: UNUserNotificationCenter.
Read more >
Open app in specific view when push notification is tapped
In the previous article on performing action when user tap on notification, we know that to perform an action when user tap on...
Read more >
Notifications Not Shown - Mobile Push
If your app is open while sending, you may be hiding the notification using the Foreground Notification Received Event if on our updated...
Read more >
Getting Started with Push Notifications - Airship Docs
The Airship SDK makes a distinction between user notifications , which can ... Silent notifications are push messages that do not present a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found