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

AlarmManager resets when the app starts.

$
0
0

I have an app whose AlarmManager resets when the app starts up again (ie, not just resume, but OnCreate runs again).

Case 1

I set the alarm to go off in 8 hours and I hit home to exit the app. I do not open the app again. The alarm works fine.

Case 2

I set the alarm to go off in 8 hours and I hit home to exit the app. I open the app after 5 hours. The alarm does not fire.

Is this normal behavior? How would I handle it?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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