Need help in a Forked <Text> Component for android to make it working on New Architecture/Fabric #289
vbansal-bb
started this conversation in
Libraries
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Guys,
In our apps, as a critical feature we need to manage copy and paste operation of Text Component and that is only possible by changing native code of this module for android.
Note: For iOS, we could do it via swizzling.
I could do this on old architecture but i am not able to make it working on new architecture as i think i don't have understanding of internals of new architecture implementation.
Here is my repo
https://github.com/vbansal-bb/CustomTextRepo
Please note that my change in CustomText Component are very minimal wrt Text Component in RN version 0.77 and are listed below
RCTText => AndroidTextCustom
RCTVirtualText =>AndroidVirtualTextCustom
Please help in following—
Thanks
Beta Was this translation helpful? Give feedback.
All reactions