You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I implemented the code below, but I don't receive the notification in the background
import messaging from '@react-native-firebase/messaging';
import PushIOManager from '@oracle/react-native-pushiomanager';
import { AppRegistry } from 'react-native';
PushIOManager.isResponsysPush(remoteMessage, (error, response) => {
if (response) {
// Push notification received from Responsys.
PushIOManager.handleMessage(remoteMessage);
} else {
// Not a Responsys push notification, handle it appropriately.
}
});
Hi,
I implemented the code below, but I don't receive the notification in the background
import messaging from '@react-native-firebase/messaging';
import PushIOManager from '@oracle/react-native-pushiomanager';
import { AppRegistry } from 'react-native';
messaging().setBackgroundMessageHandler(async remoteMessage => {
});
AppRegistry.registerComponent(appName, () => App);
the version of firebase messaging is 13.1.0. Is a specific version needed?
The text was updated successfully, but these errors were encountered: