Hey awesome people, I'm doing emergency location based app and my flow is :
1) User install app
2) Upload device details to server (devicetoken, devicename etc)
3) Server can send silent push notification which contain lat,long,radius
4) Trigger the didReceiveRemoteNotification when received silent push notification
- This is working when app in running and suspended state
- Not working when user removed the app from switcher/not launched
5) If didReceiveRemoteNotification did trigger, init CLCircularRegion with lat,long and radius values and let monitoringRegion decide whether the user is in radius or not.
6) If the user in current radius show UILocalNotification to user.
I am new to iOS and I struggled with silent push notification,googled a lot and got stuck. Will iOS awake my app when i receive silent push notification when app is not launched(i.e when app is removed from app switcher)? thanks in advance.