Help with Android versions 35 and 36 #8067
Unanswered
MarcosSarges
asked this question in
Q&A
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.
-
Help with Android versions 35 and 36
I need help. I have many flows in my app. It's not worth adjusting them one by one, as it could cause other issues. So, I decided to manually add the bottom insets in Android versions >= 35.
I couldn't adjust them so that the bottom tab matches other screens, in this case, modals and stacks.
I also couldn't adjust them to handle them natively. Adjusting one point would break another (ok, legacy, I know, but I'm looking for a workaround).
If I could even adjust it in native Android with a patch, I could do it, but the lib is quite complex, and I'm lost.
[I'm using Google Translate to send this message]
Insets come from the react-native-safe-area-context lib.
I adjusted the logic to register the other screens after my bootstrap screen loads the insets.
One thing I tried was setting the root of the bottom tab and passing layout.insets.bottom = 0 in the options, but it didn't work. I didn't quite understand the hierarchy.
I'm more familiar with ReactNavigation.
Beta Was this translation helpful? Give feedback.
All reactions