PushNotificationPlugin icon indicating copy to clipboard operation
PushNotificationPlugin copied to clipboard

Android dependencies - Not receiving notifications on Android

Open stesvis opened this issue 4 years ago • 1 comments

Do we need to manually install any Android dependencies in order to work correctly? Such as Xamarin.Firebase.Messaging for example? After installing the plugin I don't see the dependencies in the References tree.

The problem I am having is that on Android when I stop using the app for a few hours (on a Huawei, I don't know how other phones behave), I stop receiving notifications. Once I launch the app again, notifications are received again.

stesvis avatar Aug 19 '21 17:08 stesvis

For a huawei phone there's a pretty good chance it's because of the battery management settings. Huawei is notorious for disallowing background processes to run, which results in exactly the situation you are describing

OCP-team avatar Nov 30 '21 10:11 OCP-team