Describe the bug
In my app I use react-native-firebase to handle notifications logic
in my index.js I declare setBackgroundMessageHandler to handle background notification logic
But when I initialize StreamVideoRN.setPushConfig() it also creates its own setBackgroundMessageHandler, so my previous setBackgroundMessageHandler index.js logic does not work anymore.
Is it possible to preserve my original logic in setBackgroundMessageHandler and also use StreamVideoRN setBackgroundMessageHandler?
Which package/packages do you use?
@stream-io/video-react-sdk
@stream-io/video-react-native-sdk
@stream-io/video-client
Describe the bug In my app I use react-native-firebase to handle notifications logic in my index.js I declare setBackgroundMessageHandler to handle background notification logic But when I initialize StreamVideoRN.setPushConfig() it also creates its own setBackgroundMessageHandler, so my previous setBackgroundMessageHandler index.js logic does not work anymore. Is it possible to preserve my original logic in setBackgroundMessageHandler and also use StreamVideoRN setBackgroundMessageHandler?
Version
Env: Production
React Native