With managed SDK 38.0, is it possible to unsend push notifications for iOS or Android? Many chat apps (like IG for example), will actually delete the message from the user’s screen if you delete the message off your phone. Couldn’t find anything about it in the documentation.
Hi! you can’t “unsend” a push notification through a push service, but you can remove the message from the receiver’s notification tray!
You can find the methods for that in the Notification docs, check out:
- dismissNotificationAsync - https://docs.expo.io/versions/v38.0.0/sdk/notifications/#dismissnotificationasyncidentifier-string-promisevoid
- dismissAllNotificationsAsync - https://docs.expo.io/versions/v38.0.0/sdk/notifications/#dismissallnotificationsasync-promisevoid
Thanks for letting us know!
My question then would be, how do we know the identifier from the API? Through the delivery receipts?
Since that’s where we send or unsend notification events right?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.