Open mrakesh0608 opened 1 month ago
Fixes #1569
react-native-webrtc already forcing to use the correct event-target-shim module #1515.
react-native-webrtc
When event-target-shim is requested by react-native-webrtc, Metro by default resolves event-target-shim relative to react-native-webrtc.
event-target-shim
When both variables isEventTargetShimPkg and isWebrtc are true, event-target-shim is resolved relative to react-native-webrtc, as shown in the video.
isEventTargetShimPkg
isWebrtc
So, there is no need to explicitly resolve event-target-shim for react-native-webrtc.
https://github.com/expo/config-plugins/assets/101246871/6ad38742-4145-4b07-9047-b3fb8b7652c1
Hi @EvanBacon, I have tested Expo SDK 50 with react-native-webrtc@118.0.4 and @config-plugins/react-native-webrtc@7.0.0, and it is working fine. I think it would be better if we update the compatibility table.
Why
Fixes #1569
How
react-native-webrtc
already forcing to use the correct event-target-shim module #1515.Test
When
event-target-shim
is requested byreact-native-webrtc
, Metro by default resolvesevent-target-shim
relative toreact-native-webrtc
.When both variables
isEventTargetShimPkg
andisWebrtc
are true,event-target-shim
is resolved relative toreact-native-webrtc
, as shown in the video.So, there is no need to explicitly resolve
event-target-shim
forreact-native-webrtc
.https://github.com/expo/config-plugins/assets/101246871/6ad38742-4145-4b07-9047-b3fb8b7652c1