Skip to content

Native lib reorder and fix ios #3750

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 31 commits into from
Jun 26, 2025
Merged

Native lib reorder and fix ios #3750

merged 31 commits into from
Jun 26, 2025

Conversation

Inbal-Tish
Copy link
Collaborator

@Inbal-Tish Inbal-Tish commented Jun 5, 2025

Description

Native lib reorder and fix ios + bump version to 5.0.0

Changelog

Native lib reorder and fix ios + bump version to 5.0.0

Additional info

RN77 new arc

@Inbal-Tish Inbal-Tish changed the base branch from master to rn77-new-arch June 5, 2025 12:21
@Inbal-Tish Inbal-Tish requested a review from M-i-k-e-l June 5, 2025 12:21
Copy link
Collaborator

@M-i-k-e-l M-i-k-e-l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the the following are only used in KeyboardAccessoryView and should be placed under that folder: KeyboardRegistry, CustomKeyboard, TextInputKeyboardManager as folders and KeyboardUtils as KeyboardUtils.ts

@M-i-k-e-l M-i-k-e-l assigned Inbal-Tish and unassigned M-i-k-e-l Jun 8, 2025
@Inbal-Tish Inbal-Tish assigned M-i-k-e-l and unassigned Inbal-Tish Jun 9, 2025
@Inbal-Tish Inbal-Tish requested a review from M-i-k-e-l June 9, 2025 06:47
@M-i-k-e-l M-i-k-e-l assigned Inbal-Tish and unassigned M-i-k-e-l Jun 9, 2025
@Inbal-Tish Inbal-Tish assigned M-i-k-e-l and unassigned Inbal-Tish Jun 9, 2025
@Inbal-Tish Inbal-Tish requested a review from M-i-k-e-l June 9, 2025 10:07
@Inbal-Tish Inbal-Tish changed the title Native lib reorder Native lib reorder and fix ios Jun 10, 2025
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';

export interface HighlightFrame {
x: Float;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a general comment (I assume this appears in other files).

Although we've said we should replace these, let's check with Gosha if we should use the CodegenTypes (such as Float) or simply number, could this be more correct?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving for now, might look back at it later
https://reactnative.dev/docs/turbo-native-modules-introduction

@M-i-k-e-l M-i-k-e-l merged commit 9ce1374 into rn77-new-arch Jun 26, 2025
1 check passed
@M-i-k-e-l M-i-k-e-l deleted the infra/lib_reorder branch June 26, 2025 08:48
@M-i-k-e-l M-i-k-e-l restored the infra/lib_reorder branch June 26, 2025 13:34
@M-i-k-e-l M-i-k-e-l deleted the infra/lib_reorder branch June 26, 2025 13:45
M-i-k-e-l added a commit that referenced this pull request Jul 1, 2025
* Upgrade to react native 0.76.9

Some errors in native code that I did not want to commit fixes just yet
docuilib has issues (hopefully will be solved in 0.77.2

* RN77 upgrade + new arch

Android runs (still need to fix native)  |  iOS red screen  |  docuilib still has errors

* Remove TextInputDelKeyHandlerPackage (Android)

* KeyboardAccessoryView on Android - fix crash (one bug left)

Pressing on dismiss (x) only fully works the second time

* Pressing on dismiss (x) only fully works the second time - a very complex fix

* Remove unused code

* HighlighterViewManager - fix (use new API)

* Fix gesture handler changed style

* Fix images (unrelated)

* Fix PanViewScreen (unrelated)

* Fix dragging in SortableList and SortableGridList

* Update navigation

* Change iOS back to Objective-C

* Fix screen - border color

* Revert to older reanimated and gesture-handler versions

* Drawer - fix animation flickering

* Remove comment

* StackAggregator - several fixes - see #3210

* Drawer - fix color not being shown with multiple buttons (RectButton bug)

* Fix

* Downgrading reanimated and gesture handler

* Fix

* Fix iOS (setimmediate)

* remove UIManager.setLayoutAnimationEnabledExperimental

* Update RNN

* Fix snapshot

* Fix TS

* Fix TS

* Fix snapshot

* Native lib reorder and fix ios (#3750)

* Native lib - reorganize components in folders for convenience + bump version to 5.0.0

* pointing to index

* revert naming change

* fix api files

* rename HighlighterOverlay web

* Moving sub components to the parent

* fix api file and move KeyboardUtils outside folder

* Revert "fix api file and move KeyboardUtils outside folder"

This reverts commit ff64327.

* fix api json

* fix folder name to match component name

* remove specs

* fix highligther view native registration

* fix for SafeAreaSpacerView

* fix types

* fix for KeyboardTrackingView

* trying to fix failed CI build

* SafeAreaSpacesView - moving to react implementation using native SafeAreaManager

* manager changes

* fix safe area

* fix SafeAreaSpacerView again

* removing logs

* Fix highlightViewTag type

* Fix TS error

* Typescript fixes \ revert

* Revert

---------

Co-authored-by: Miki Leib <[email protected]>
Co-authored-by: M-i-k-e-l <[email protected]>

* KeyboardAwareBase - fix error

* Fix menu - "native" tag should show all (and only) native components

* Update uilib-native to snapshot

* Fix tests

* Update uilib-native to snapshot

* Fix TS error and web type

* Change from codegenNativeComponent to requireNativeComponent in order to fix error after transpilation (#3768)

* Change from codegenNativeComponent to requireNativeComponent

* Update snapshot

* Revert, move to specs and publish the typescript vesion (#3769)

* Another try

* Do not transpile specs

* Another one

* Update snapshot

* SafeAreaSpacerView - fix race condition and a small refactor (#3770)

* SafeAreaSpacerView - fix race condition and a small refactor

* Update snapshot

* Remove extra backgroundColor

---------

Co-authored-by: Inbal Tish <[email protected]>
Co-authored-by: Inbal Tish <[email protected]>
@M-i-k-e-l M-i-k-e-l restored the infra/lib_reorder branch July 1, 2025 07:49
@M-i-k-e-l M-i-k-e-l deleted the infra/lib_reorder branch July 1, 2025 08:11
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.

2 participants