shinyorg / shiny

.NET Framework for Backgrounding & Device Hardware Services (iOS, Android, & Catalyst)

Home Page:https://shinylib.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: actionIdentifier not available in OnEntry delegate for Push Notifications

johngraumann opened this issue · comments

Component/Nuget

Push - Native (Shiny.Push)

What operating system(s) are effected?

  • iOS (13+ supported)
  • Mac Catalyst
  • Android (8+ supported)

Version(s) of Operation Systems

iOS 16.3.1

Hosting Model

  • MAUI
  • Native/Classic Xamarin
  • Manual

Steps To Reproduce

  1. Create a notification channel with at least one ChannelAction.
  2. Send a push notification to the iOS device with the appropriate category for the Channel.
  3. Wait for the push notification to be displayed.
  4. 3D touch the notification to display the actions, and choose the action you added in step 1.

Expected Behavior

Expected: the app will launch, and OnEntry in the IPushDelegate will be called and actionIdentifier from the native UNNotificationResponse should be available to determine the chosen action.

Actual Behavior

Actual: the app launches, and OnEntry is called in the IPushDelegate, however actionIdentifier is not included in the PushNotification object that is provided in that method. It looks like the ActionIdentifier is only provided when interacting with local notifications.

Exception or Log output

No response

Code Sample

No response

Code of Conduct

  • I have supplied a reproducible sample that is NOT FROM THE SHINY SAMPLES!
  • I am a Sponsor OR I am using the LATEST stable/beta version from nuget (v3.0 stable - ALPHAS are not taking issues - Sponsors can still send v2 issues)
  • I am Sponsor OR My GitHub account is 30+ days old
  • I understand that if I am checking these boxes and I am not actually following what they are saying, I will be removed from this repository!

It won't be unfortunately. It's basically a local only value