Closed claustres closed 5 years ago
It seems to work fine as is although we store the topic ARN for each platform and it is the same for SNS. It works as is so far because SNS is fault-tolerant: if creating again an existing topic it return the created topic, if removing a topic twice it fails silently, if sending the same message twice it filters it.
This should already be the case because SNS provides a facade to APNS but we should ensure everything works as expected, notably the message payload might require a dedicated structure.
We also need to develop a script or something to migrate existing apps like aktnmap, which already have topics declared in SNS but only attached in the existing Android apps.