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.

Can't get NotificationTapped Event working

See original GitHub issue

Describe the bug I have the NotificationCenter.Current.NotificationTapped += Current_NotificationTapped; in the App.xaml.cs file above the MainPage=new AppShell(); but no matter what I do this event is not triggered when I click on the notifications. As of writing this, I’m on the latest version of everything including ios, xamarin.forms and this plugin.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
thudugalacommented, Jun 30, 2020

@askinadze Documentation fixed

0reactions
jamesdlowcommented, May 19, 2023

On iOS I had to add UNUserNotificationCenter.Current.Delegate = new UserNotificationCenterDelegate(); to the FinishedLaunching of my AppDelegate.

        {
            global::Xamarin.Forms.Forms.Init();
            LoadApplication(new App());
            UNUserNotificationCenter.Current.Delegate = new UserNotificationCenterDelegate();
            return base.FinishedLaunching(app, options);
        }
Read more comments on GitHub >

github_iconTop Results From Across the Web

Tap on notification restart application and ...
I am using Plugin.LocalNotification to receive notification. I want to use NotificationCenter.Current.NotificationTapped event but on ...
Read more >
Android notification issues? Try these simple 16 fixes
Open Settings on your Android phone. · Select Notifications . · Tap Do Not Disturb under the General menu. 2 Images. Open notifications...
Read more >
on('notification') not firing when tapping on notification ...
On both iOS and Android, the on receive event is fired when the user taps on a notification. It doesn't matter if the...
Read more >
Troubleshoot missing Google Calendar notifications
Find missing event notifications on a calendar · Open Google Calendar. · Click Settings . · Select Settings. · On the left sidebar,...
Read more >
Start an Activity from a Notification
When you start an activity from a notification, you must preserve the user's expected navigation experience. Tapping Back should take the ...
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