Hello! I have a strange issue when my app is in the background. When I send push notification from Firebase Console (and from my Java server) with attribute custom_notification = {"title": "Test title", "body": "Test Body", "channel": "default"} I receive a system message "failed to post notification on channel "null"...". When my app is in the foreground I don't have such issue - all works pretty well. I checked in Android Studio debugger and discovered that react-native-fcm code isn't trigger at all! On IOS I don't have any problems. How can I fix this issue?
react-native 0.51.0 Android Emulator, Android 8 API 26 targetSdkVersion 17 compileSdkVersion 27 buildToolsVersion 28.0.2
Hello! I have a strange issue when my app is in the background. When I send push notification from Firebase Console (and from my Java server) with attribute
custom_notification = {"title": "Test title", "body": "Test Body", "channel": "default"}
I receive a system message "failed to post notification on channel "null"...
". When my app is in the foreground I don't have such issue - all works pretty well. I checked in Android Studio debugger and discovered that react-native-fcm code isn't trigger at all! On IOS I don't have any problems. How can I fix this issue?