locked
Alarmmanager not working when app is killed RRS feed

  • Question

  • User357747 posted

    Someone has the problem in Xamarin Forms Android, that the notifications work correctly but when we close the app they are no longer displayed. For example, I have a reminder every 5 minutes that with the app in the foreground works ok, but if the kill does not work. Thank you.

    Wednesday, April 3, 2019 1:05 PM

All replies

  • User56293 posted

    @JoseAlbertoMuozRuiz I believe I am running into this issue as well, have you been able to fix or work around the issue? If so, would you be able to share how you achieved this?

    Thursday, October 24, 2019 9:52 AM
  • User357747 posted

    Hello, now I am not with this project, but I remember that finally we could not do it on Android, since from a version it could not be done. In previous versions if it worked

    Thursday, October 24, 2019 10:18 AM
  • User389719 posted

    This sounds like you want to run an Android Background service as part of your app. Here is a Microsoft doc on how this can be achieved https://docs.microsoft.com/en-us/xamarin/android/app-fundamentals/services/

    But if you are still having problems, or would like further help, please submit a ticket to Microsoft regarding this issue.

    Microsoft Support link. Free support for all Xamarin Developers https://support.microsoft.com/en-us/supportforbusiness/productselection?sapId=211dd84f-3474-c3c5-79bf-66db630c92a6

    Thursday, October 24, 2019 8:08 PM