Hi Luigi.
Yes, I am using the pushplugin.
Sorry for being a bother; but I do have another question (I am unsure whether or not this question concerns you or your work, but I will try anyhow) - as I said, I am now capable of receiving notifications; however, I cannot seem to understand how to set badges. Or rather, how the `badging` works , on android devices.
What I have tried : I have tried to set the badge manually using the features the push plugin provides, when a new notification arrives. However, when in background, the on notification event does not trigger, for whatever reason, and the badge does not update.
You said that there is a property that allows you to check the state of the app when the event was triggered
data.additionalData.foreground
boolean
Whether the notification was received while the app was in the foreground
however, as I understand, the event does not run when in background.
Is there any other way to set the badge ? Thanks !