shinyorg / shiny

.NET Framework for Backgrounding & Device Hardware Services (iOS, Android, & Catalyst)
https://shinylib.net
MIT License
1.43k stars 227 forks source link

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

Closed johngraumann closed 6 months ago

johngraumann commented 6 months ago

Component/Nuget

Push - Native (Shiny.Push)

What operating system(s) are effected?

Version(s) of Operation Systems

iOS 16.3.1

Hosting Model

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

aritchie commented 6 months ago

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