Apple provides a sandbox endpoint that can be used for testing push notifications.  The sandbox ensures that device IDs in that environment will not work in production and are thus safe for testing purposes.


It is quite common for Ably customers to have a test / sandbox app in their account which uses the APNS sandbox endpoint too, and a production app without using the APNS sandbox endpoint too.


When you setting up push notifications in your dashboard, be sure to enable the sandbox endpoint in the APNS settings section if you want to use the sandbox endpoint.


Further reading