From 20b7e83782cd5f79ddd0d61dadc13eeb4db4b258 Mon Sep 17 00:00:00 2001 From: Kacper Kafara Date: Wed, 18 Dec 2024 15:08:43 +0100 Subject: [PATCH] fix: point to existing symbol names in `ios.componentProvider` (#2583) ## Description #2567 introduced `ios.componentProvider` field to package definition - and that's fine, but we're pointing to wrong names there. ## Changes Updated the names to existing symbol names. ## Test code and steps to reproduce This caused runtime errors when running the app on 0.77. I need this commit for the #2581 (0.77 support) ## Checklist - [ ] Included code example that can be used to test this change - [ ] Updated TS types - [ ] Updated documentation: - [ ] https://github.com/software-mansion/react-native-screens/blob/main/guides/GUIDE_FOR_LIBRARY_AUTHORS.md - [ ] https://github.com/software-mansion/react-native-screens/blob/main/native-stack/README.md - [ ] https://github.com/software-mansion/react-native-screens/blob/main/src/types.tsx - [ ] https://github.com/software-mansion/react-native-screens/blob/main/src/native-stack/types.tsx - [ ] Ensured that CI passes --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 6442123c3..3a3ab8346 100644 --- a/package.json +++ b/package.json @@ -158,14 +158,14 @@ "componentProvider": { "RNSFullWindowOverlay": "RNSFullWindowOverlay", "RNSModalScreen": "RNSModalScreen", - "RNSScreenContainer": "RNSScreenContainer", + "RNSScreenContainer": "RNSScreenContainerView", "RNSScreenContentWrapper": "RNSScreenContentWrapper", "RNSScreenFooter": "RNSScreenFooter", - "RNSScreen": "RNSScreen", - "RNSScreenNavigationContainer": "RNSScreenNavigationContainer", + "RNSScreen": "RNSScreenView", + "RNSScreenNavigationContainer": "RNSScreenNavigationContainerView", "RNSScreenStackHeaderConfig": "RNSScreenStackHeaderConfig", "RNSScreenStackHeaderSubview": "RNSScreenStackHeaderSubview", - "RNSScreenStack": "RNSScreenStack", + "RNSScreenStack": "RNSScreenStackView", "RNSSearchBar": "RNSSearchBar" } }