Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐛] Bug Report Title - event-target-shim version collision #2887

Open
8 tasks
iAhtasham opened this issue Jan 9, 2025 · 5 comments
Open
8 tasks

[🐛] Bug Report Title - event-target-shim version collision #2887

iAhtasham opened this issue Jan 9, 2025 · 5 comments

Comments

@iAhtasham
Copy link

Issue

@stream-io/[email protected] which is the latest version depends on event-target-shim@"6.0.2"
while [email protected] and many other libraries from stream-chat are dependent on packages like @gorhom/bottom-sheet@"^5.0.6" which are dependent on [email protected]

it will be very helpful, if all the packages of stream library use same version of event-target-shim package

Steps to reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error
    etc...

Expected behavior

Project Related Information

Customization

Click To Expand

# N/A

Offline support

  • I have enabled offline support.
  • The feature I'm having does not occur when offline support is disabled. (stripe out if not applicable)

Environment

Click To Expand

package.json:

# N/A

react-native info output:

 OUTPUT GOES HERE
  • Platform that you're experiencing the issue on:
    • iOS
    • Android
    • iOS but have not tested behavior on Android
    • Android but have not tested behavior on iOS
    • Both
  • stream-chat-react-native version you're using that has this issue:
    • e.g. 5.4.3
  • Device/Emulator info:
    • I am using a physical device
    • OS version: e.g. Android 10
    • Device/Emulator: e.g. iPhone 11

Additional context

Screenshots

Click To Expand


@oliverlaz
Copy link
Member

hi @iAhtasham, thank you for reporting this issue. Unfortunately, we don't have many options here as these packages aren't primarily maintained by us.

@stream-io/react-native-webrtc is a fork of https://github.com/react-native-webrtc/react-native-webrtc. This package uses [email protected]. Downgrading to 5.0.1 in our fork may impose unexpected bugs and increase our maintenance efforts, so we weren't looking into it.

Besides the increased bundle size (~12kb), do you face any other issues related to this?

@iAhtasham
Copy link
Author

iAhtasham commented Jan 10, 2025

any ideas how to resolve the conflicts between event-target-shim versions, if we want to run the chat and calling feature in the same app? @stream-io/react-native-webrtc

@oliverlaz
Copy link
Member

hi @iAhtasham, what kind of conflicts do you get? We have many customers running both our products (chat and video) in their apps without any issues.

@iAhtasham
Copy link
Author

I am having lots of conflicts, can you please provide me packages that run on expo 52
"expo": "^52.0.24",
"@stream-io/react-native-webrtc": "^118.0.1",
"@stream-io/video-react-native-sdk": "1.7.0",
"stream-chat": "8.49",
"stream-chat-expo": "6.1.1",
"stream-chat-react-native": "6.1.1"

@oliverlaz
Copy link
Member

hi @iAhtasham, can you please share with us what kind of conflicts you get?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants