evollu / react-native-fcm

react native module for firebase cloud messaging and local notification
MIT License
1.73k stars 681 forks source link

Notification icon is not displayed on Android 8.0 #1067

Open kireerik opened 5 years ago

kireerik commented 5 years ago

React Native version: 0.55.4 Affected react-native-fcm versions: 14.2.1, 16.2.3 (16.2.4 causes build issues on Android) Devices: Android 8.0 emulator, Android 8.0 Samsung device

Application is running in background.

The icon parameter is properly set on the backend as well.

Works on Android 8.1 and with other Android versions as well but not with Android 8.0.

Related Firebase SDK issue:

Solutions and workarounds I have tried so far:

I also tried it by creating a notification channel as described in react-native-fcm's documentation at the same section as an option for local notifications, but it doesn't resolve the issue either unless I am missing something.

I also found similar issues like this and I tried upgrading and downgrading the mentioned libraries as mentioned here, but it didn't resolve this issue unless I was adding older or newer versions the wrong way.