Skip to content

fix: point to existing symbol names in ios.componentProvider #2583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

kkafar
Copy link
Member

@kkafar kkafar commented Dec 18, 2024

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

@kkafar kkafar changed the title fix: point to existing symbol names in codegenConfig.ios fix: point to existing symbol names in ios.componentProvider Dec 18, 2024
@kkafar kkafar merged commit 20b7e83 into main Dec 18, 2024
8 checks passed
@kkafar kkafar deleted the @kkafar/fix-ios-codegen-config branch December 18, 2024 14:08
kligarski pushed a commit that referenced this pull request Feb 25, 2025
## 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
kligarski added a commit that referenced this pull request Feb 26, 2025
## Description

Adding support for `[email protected]`.

**RN version of the library still left at `0.72.4`.**

## Changes

- adjusted example apps on both architectures with changes from upgrade
helper,
- added codegen `ios.componentProvider`
  - #2567
  - #2583
- removed providers that are not present in this version
(RNSScreenFooter, RNSScreenContentWrapper)
(ef2c7a4)
- bumped dependencies:
  - `react-native-gesture-handler` to `2.22.0`
  - `react-native-reanimated` to `3.16.7`
  - `react-native-safe-area-context` to `5.1.0`
  - removed patches that were no longer needed
- updated view manager interfaces
(f968e05)
- in order for this to work, **commented out codegen script** from
Example/android/app/build.gradle
(bf30abf), as it was overwriting
correct fix -> **needs to be investigated**
- fixed build issues on iOS (0f53ad1)
  - #2497
  - adjusted to 3.x (removed unnecessary files, imports)
- changed Metro config for FabricExample
(ef2c7a4)

## Test code and steps to reproduce

CI

## Checklist

- [ ] Ensured that CI passes

---------

Co-authored-by: Jakub Grzywacz <[email protected]>
Co-authored-by: Kacper Kafara <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant