CrossGeeks/PushNotificationPlugin

Android dependencies - Not receiving notifications on Android

stesvis opened this issue · 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.

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