Skip to content

Commit 20b7e83

Browse files
authored
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: <!-- For adding new props to native-stack --> - [ ] 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
1 parent 745d987 commit 20b7e83

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,14 @@
158158
"componentProvider": {
159159
"RNSFullWindowOverlay": "RNSFullWindowOverlay",
160160
"RNSModalScreen": "RNSModalScreen",
161-
"RNSScreenContainer": "RNSScreenContainer",
161+
"RNSScreenContainer": "RNSScreenContainerView",
162162
"RNSScreenContentWrapper": "RNSScreenContentWrapper",
163163
"RNSScreenFooter": "RNSScreenFooter",
164-
"RNSScreen": "RNSScreen",
165-
"RNSScreenNavigationContainer": "RNSScreenNavigationContainer",
164+
"RNSScreen": "RNSScreenView",
165+
"RNSScreenNavigationContainer": "RNSScreenNavigationContainerView",
166166
"RNSScreenStackHeaderConfig": "RNSScreenStackHeaderConfig",
167167
"RNSScreenStackHeaderSubview": "RNSScreenStackHeaderSubview",
168-
"RNSScreenStack": "RNSScreenStack",
168+
"RNSScreenStack": "RNSScreenStackView",
169169
"RNSSearchBar": "RNSSearchBar"
170170
}
171171
}

0 commit comments

Comments
 (0)