Local notification on http service with timeout function

Hi, i have a timeout function that gets data from a api every minute. When data is updated i add a local notification using LocalNotification by katzer. Now on android everything is working fine. when new data is received plugin is fired when the app is in background (except the badges)

Now on my ios simulator it works also. But now when i run the app on my phone trough xcode it does not give the local notifications. It seems that when you minimize the app, the http service and timeout are not working?

My question is why is this? because it does work on the ios simulator