I have an app that uses cordova-plugin-firebasex for the push notifications. But they don't appear in notification center while app is in the background. I'm using iOS simulator in XCode.
Can I test Firebase notifications in simulator while app is in the background? Or I need real device for this?
Simulators are not supporting push notifications. You can see this output text from Firebase SDK in yuor console output Like
6.27.0 - [Firebase/Messaging][I-FCM012002] Error in application:didFailToRegisterForRemoteNotificationsWithError: remote notifications are not supported in the simulator
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With