Predictive back gesture support on Android #2540
Replies: 6 comments
-
Probably worth to tag @WoLewicki @alduzy @tboba since you guys mostly work with Android?.. |
Beta Was this translation helpful? Give feedback.
-
@kkafar is the main maintainer of the library so it's a question to him right now. |
Beta Was this translation helpful? Give feedback.
-
I was looking into it back in 2022 facebook/react-native#34529, however the topic died. I've planned to go back to this at some point, but it has never made the top of my todo list. Need to stabilize Android bugs with screens v4 and should have capacity to work on this. |
Beta Was this translation helpful? Give feedback.
-
@kkafar hi. Do you have any news about the implementation of this feature? |
Beta Was this translation helpful? Give feedback.
-
Yeah, doing predictive back gesture on Fragment level on Android AFAIK requires FragmentManager's back stack usage, which in turn eliminates possibility of synchronously commiting fragment trasanctions & we need that in our implementation ==> highly likely this won't be ever done in react native screens v4. |
Beta Was this translation helpful? Give feedback.
-
I have more context now, because I'm researching things for next major & we might try to land that, however it's months away. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Just curious whether you've considered to add Predictive back gesture support on Android? Here is an example showing which animations can be used when you implement that 👀
It looks nice and gives a feel of a native application on Android (for example me - I like that there is an official alternative to a back gesture navigation (that is available on iOS)).
Beta Was this translation helpful? Give feedback.
All reactions