config-plugins icon indicating copy to clipboard operation
config-plugins copied to clipboard

react-native-webrtc peer dependency

Open berg-dee opened this issue 3 months ago • 4 comments

Summary

Hi!

This happens each time a new version of Expo is released, the react-native-webrtc config plugin gets a conflicting peer dependency. This time it's peer expo@"^53" from @config-plugins/[email protected] now that SDK 54 has been released.

I do not understand why it's not changed to something like

"peerDependencies": {
  "expo": ">=53"
}

https://github.com/expo/config-plugins/tree/main/packages/react-native-webrtc

Could this either be changed to "expo": "^54" to resolve this new expo sdk, or changed to "expo": ">=53" to avoid this problem appearing again in the future.

Regards, Berg

Config Plugin

@config-plugins/react-native-webrtc

What platform(s) does this occur on?

Android, iOS

SDK Version

54

Reproducible demo

None needed, just see https://github.com/expo/config-plugins/blob/main/packages/react-native-webrtc/package.json where it has peerDependency expo 53

berg-dee avatar Sep 11 '25 12:09 berg-dee

I have the same problem, @brentvatne could you fix it or should I create a simple PR?

kalwinskidawid avatar Sep 11 '25 12:09 kalwinskidawid

@berg-dee Does it work for you after updating the version in peerDependencies? Or does it throw a Babel error?

doublex avatar Sep 12 '25 12:09 doublex

Same for @config-plugins/[email protected] as well.

alialaa avatar Sep 14 '25 13:09 alialaa

Thanks @hassankhan for a branch upgrade-to-v54-stacked. Could you also update peerDependencies in @config-plugins/react-native-dynamic-app-icon

kalwinskidawid avatar Sep 17 '25 13:09 kalwinskidawid