thudugala / thudugala/Plugin.LocalNotification
Notification Receiving not working on iOS when in foreground
@thudugala is already working on this.
Since Jun 6, 2023.
- Dominant language
- C#
- Stars
- 474
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.