NotificationTapped is never fired on IOS 13.6
See original GitHub issueDescribe the bug When it try to catch the NotificationTapped event on IOS 13.6
NotificationCenter.Current.NotificationTapped += (args) =>
{
if (App.Current.MainPage is MainPage page)
{
page.SetLabelText("notification tapped");
}
};
The event is never fired.
To Reproduce Steps to reproduce the behavior: Get this code: TesteApp.zip Run with IOS 13.6 Touch the notification Wait for the event to be fired
Expected behavior The event should be fired and text label should be “notification tapped”
Platform (please complete the following information):
- OS: IOS
- Version 13.6
Smartphone (please complete the following information):
- Even on simulator
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Xamarin.forms NotificationTapped event not fired when tap ...
1) NotificationTapped this event is not fired when you tap on notification? Some times break point will not hit.
Read more >Troubleshooting iOS
"APNS Delegate Never Fired" is a timeout message for when iOS doesn't fire a success or failure message if a connection is not...
Read more >oneSignal iOS push not wroking
APNs Delegate Never Fired : Remove any other notification SDK and push code from your app. The SDK received a response from APNs....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok, I’ve just found out why NotificationTapped wasn’t fired on my Android project. The reason of an issue was a custom launch screen, which was created as another acticity; with its MainLauncher attribute set as ‘true’ (just like there: https://docs.microsoft.com/en-us/xamarin/android/user-interface/splash-screen).
I’ve noticed the same issue on Android 10 (Samsung Galaxy A7 (2018)). App opens, but the event isn’t fired. It’s a bit weird, because it has worked for me before, both on iOS and Android.