react-native-webrtc peer dependency
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
I have the same problem, @brentvatne could you fix it or should I create a simple PR?
@berg-dee
Does it work for you after updating the version in peerDependencies?
Or does it throw a Babel error?
Same for @config-plugins/[email protected] as well.
Thanks @hassankhan for a branch upgrade-to-v54-stacked. Could you also update peerDependencies in @config-plugins/react-native-dynamic-app-icon