Closed georgeflug closed 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
I am just right now asking myself the same question. Also, there is no explanation what the enum values mean. To my mind, the documentation version makes much more sense. Could someone please explain how to use it correctly?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
The issue has been closed for inactivity.
Makes little sense to me, and I see it nowhere in the docs. @DanielEliraz perhaps you could shed some light on this?
Thank you in advance.
I am using the
registerNotificationReceivedBackground()
event to receive background notifications.According to the documentation, the completion callback should be called with a payload such as
{alert: true, sound: true, badge: false}
. However, that does not match the Typescript types, and diving into the code, it wants a payload with aNotificationBackgroundFetchResult
value ofnewData
,noData
, orfailed
.Can someone explain what these values mean so that I know which one to provide in the callback?
Thank you in advance.