I would like to know if there is any way to use push notification on iOS without user interaction.
I am working on kind of anti-theft application. One of the case, when phone is stolen, we should be able to send command remotely.
The approach that we are currently following is to listen to notification port continuously and when we receive notification, query server if anything has changed. We had to follow this approach because push notification involves user interaction which is not desirable here.
But, we had been facing performance issues because of this and would like to re-consider push notification. So is there any way that we can have it without user interaction?
No, push notification can not be handled without user interaction. That is simply impossible. Can you elaborate how you query your server continuosly ? Since you can not keep your app in background for longer period. You can query your server on start up for any change, this is the only thing you can do.