Plugin.LocalNotification: Notification Receiving not working on iOS when in foreground
Describe the bug Notification Receiving not working on iOS
To Reproduce
Use sample code in the repo and add
LocalNotificationCenter.Current.NotificationReceived += NotificationRecived;
private void NotificationRecived(NotificationEventArgs e) { MainThread.BeginInvokeOnMainThread(() => Shell.Current.DisplayAlert(GlobalConstants.Notification.SyncNotificationTitle, GlobalConstants.Notification.SyncNotificationDesc, AppRes.Ok)); }
Expected behavior Should fire the event in the foreground and the user can do his logic
Platform:
- OS: iOS
- Version 16.2
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 21 (11 by maintainers)
Commits related to this issue
- Fixed #334 And #414 Notification not working on iOS — committed to thudugala/Plugin.LocalNotification by thudugala a year ago
Will look into it as soon as possible next week.