iOS app notification significantly delayed

I have tested this many times (trigger something when it is armed), I didn’t get the notification on my iOS app until about 20 minutes later. If this was a real security breach, it will be too late by the time I get the notification.

I also have an android phone, and I get the notification immediately on that phone. What is wrong with your iOS app?