1.3.0

Version 1.3.0 fixes a push notification issue with breaking changes. Review this guide before upgrading.

🔨 What changed?

Previously, the SDK set up notification handlers automatically. Since Notifee only allows one handler per app, non-Stream notifications weren't set up.

The SDK now supports adding notification handlers manually instead of automatic setup.

🚨 Breaking Changes

Removed methods from setPushConfig:

  • navigateAcceptCall
  • navigateToIncomingCall

💡 How do you set up notification handlers?

The SDK provides utility functions to add to your existing notification listeners. Example Firebase background listener:

import messaging from "@react-native-firebase/messaging";
import {
  isFirebaseStreamVideoMessage,
  firebaseDataHandler,
} from "@stream-io/video-react-native-sdk";

messaging().setBackgroundMessageHandler(async (msg) => {
  if (isFirebaseStreamVideoMessage(msg)) {
    await firebaseDataHandler(msg.data);
  } else {
    // your other background notifications (if any)
  }
});
  • isFirebaseStreamVideoMessage - checks if the push message is video-related and needs SDK processing
  • firebaseDataHandler - callback to process the message and display notifications via @notifee/react-native

Check documentation for details

See our setup documentation for notification handler changes:

The ringing setup documentation also includes Play Store declaration requirements for Android Foreground Service.

🔍 Support

For migration issues, submit a ticket at support.