[native] Fix scrolling in screen inside StackNavigator on Android
Summary:
This fixes ENG-2845, which I introduced in D6331.
It looks like gestureEnabled breaks scrolling on Android. I found a ton of GitHub issues discussing this, and the solution in all of them was to use FlatList from react-native-gesture-handler.
In this diff I went through every FlatList or ScrollView used in a StackNavigator where we have introduced gestureEnabled in D6331 (Chat and Profile), and I switched them to use FlatList from react-native-gesture-handler.
Test Plan:
- First, I ran git grep ScrollView and git grep FlatList in native/chat and native/profile to try to find any examples of cases that needed to be changed
- I deployed the app to a physical Android device to verify that scrolling still worked for all of the interfaces I fixed up
Reviewers: max, inka, tomek, bartek, przemek, kamil
Reviewed By: tomek
Subscribers: atul
Differential Revision: https://phab.comm.dev/D6417