Xamarin Alarmmanager Not Firing When App Sleeps
I have following code to fire an alarm at exact time. When my app goes to sleep/background, Alarm does not FIRE, however as soon as I unlock my phone, then it fires right away.
Solution 1:
If the App is running on API 23 or newer, you might want to look into using the SetExactAndAllowWhileIdle
method. According to the documentation it appears to me that this method will ignore whether the Device is in some low-power state or doze is enabled.
Post a Comment for "Xamarin Alarmmanager Not Firing When App Sleeps"