Hi,
I read the docs but cannot figure out how to resolve this issue:
My problems:
On some android 5: OS notification was showed on foreground, we expect it would not show up like iOS did when app's in foreground. See the screenshot below:

On some Android 5.0.2: OS notification was not showed on foreground, but there was a unread notification appear in notification center.
On iOS and Android 9: Everything is ok: When app is on foreground - no notification banner or unread notification show up.
I need to customize the source code of the library to get it works:
class RNPushNotificationHelper {
...
public void sendToNotificationCentre(Bundle bundle) {
try {
// Luatnd:
// In case of foreground: msg was handled by app and this fn was run
// In case of background: msg was handled by GooglePlayService and this fn was not reached.
Boolean isForeground = bundle.getBoolean("foreground");
if (isForeground) return;
// end luatnd
....
}
Most helpful comment
I need to customize the source code of the library to get it works: