Can IOS app do things even when it is not working at all (Killed/Non-running state)

234 views Asked by At

I Did lots of BG tasks in the past, But Trying to get data when app is killed (Even when user is giving Always permission) seems not to work. I wonder if there is a solution for that. To make things clear, I am not talking at the moment when app change from Active or Background even to suspended mode. I'm talking about if the user is using the app and set permissions but then kills the app and after that i need every hour to get data from the user and send data to them.

  1. Is there a way to do that?
  2. Can a Today widget help me with that? Does a Today widget "lives" all the time and i can get that from it 24/7?

Whet is working is CLLocation manager. This is working even when the app is killed. But only when the user is changing a location. I need that to work when the user is in the same place also.

Non of the other methods work. Not BGTask (I need every hour on the hour and not when apple decide to do things), Nor Silent Push Notification for some reason (Regular ones work, but i Don't want to bother the user with a push every hour just for getting and sending data).

Sorry there is no code to show as this is a very general question. But i think that is very important one to many people and can't find an answer for that.

0

There are 0 answers