How do I sync push notifications across multiple iOS devices?
The scenario is: The user has an app installed on two devices. Both devices receive a remote notification. The user opens the app on one device. The push notification on the other device should disappear.
This is done by many apps, e.g. Facebook Messenger, but how is this implemented?
(Swift)