Relative Content

Tag Archive for iosswiftsilent-notificationsilentpush

API call on Silent Push notification gets timeout/ lost internet connection when the app is not in use for more than 2 days

My iOS Swift app is receiving the silent push notification even if the is not in use for 2-3 days, however I’ve to call api to update user location when the silent push notification is received. After 2-3 days of inactive app API to update server is getting timeout 9 out of 10 times. if I open the app for a while it will work again normally for 2 days.
Server response time is fine no issue with low response time.
What I’ve to do to get API success in inactive app for 2-3 days