-
Notifications
You must be signed in to change notification settings - Fork 30
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
[WIP] new arch on android #68
[WIP] new arch on android #68
Conversation
Thanks for working on this! Just FYI, Android will need a custom C++ Shadow node in order to layout the bottom navigation bar properly. Here is a reference of this in another library: callstack/react-native-slider#589 We can also split the work (base implementation and Cxx shadow node separately) |
Hi @okwasniewski I have tried layout inspector on this and these are the results If you look at these screenshots we can see that there is some BottomNavigationView is shown in Layout Inspector. But it is not displayed on the screen. In case of React native slider the issue was with height and width but here we don't have a similiar issue. |
Hey, I merged #64, I am looking into this! |
Hey, Huge thanks for working on this! I've started off your work and fixed all the issues here: #79 |
Hi @okwasniewski, I appreciate your review of this PR; could we discuss the mistake I made regarding the Shadow Node (Was it Event Dispatcher or anything else), as I'm unsure about it, and could you also recommend any resources for further reading(Specially for Custom Shadow Node and CPP code of RN)? |
Sure! Sorry for not providing you any feedback. I've spent a lot of time figuring out whats was wrong you were mostly on point but the main issue was the method signature of the measure call on the ViewManager level as it wasn't called at all. I also made it work for iOS because when you opt-out of codegen passing Regarding the dispatcher I removed it and attached it separately for both architectures as I think this makes things simpler, otherwise it was great work! Regarding resources, I don't think there are any... I was mostly going through RN source code and checking how it's done for built-in components |
I've merged #79 once again thanks for your help! |
@okwasniewski Thanks for your feedback this is really helpful. |
No description provided.