It doesn't seem to work with Expo's managed workflow
divonelnc opened this issue · 5 comments
Hello,
Is there any way to make it work with a managed workflow on Expo?
I am currently getting the error: Can't resolve 'maintained-content-visible-position-flat-list'
, after both a yarn add
or npm install
@divonelnc Unfortunately no. For managed workflow, Expo will need to provide some OOTB solution.
same issue without expo, fixed mine by using:
import { FlatList } from '@stream-io/flat-list-mvcp';
@sergeykimaia @divonelnc That was a mistake in readme file. Have fixed it :)
Might be an idea to add a note in the readme regarding Expo managed workflow. I got all excited this was working until I tried a smoke test on an Android device.
I've created a feature request: https://expo.canny.io/feature-requests/p/android-maintainvisiblecontentposition-on-flatlist
Thanks @nathanwaters. I have added a note in documentation at the top - https://github.com/GetStream/flat-list-mvcp#maintainvisiblecontentposition-prop-support-for-android-react-native