Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Local notifications using UNUserNotificationCenter

$
0
0

Hi all,

I need to run some synchronization method every 15 minutes (exact time, so background fetch is not a solution) with independence of the application state (background, foreground or closed) and also with independence of internet connection (so push notifications are not a solution).

I'm trying to do it using UNUserNotificationCenter local notifications (something like Android's AlarmManager) so, when a local notification is received the app will perform the synchronization task.

Following Xamarin iOS 10 notifications tutorial I can manage local notifications receivement while my app is in foreground but, I am not able to find which is the event called when the application receives a local notification while it is in background or closed...


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>