flat-list-mvcp icon indicating copy to clipboard operation
flat-list-mvcp copied to clipboard

doesn't seem to work at all on android

Open louisholley opened this issue 4 years ago • 8 comments

working really nicely on iOS, but on Android it's just jumping to the bottom of my inverted list whenever items are prepended. has anyone else experienced this?

not sure if this is related, but seeing this error in the console:

[Unhandled promise rejection: TypeError: null is not an object (evaluating 'ScrollViewManager.enableMaintainVisibleContentPosition')]
at node_modules/@stream-io/flat-list-mvcp/src/FlatList.android.tsx:32:43 in enableMvcp
at http://192.168.1.65:19000/node_modules/expo/AppEntry.bundle?platform=android&dev=true&hot=false&minify=false:520991:38 in enableMvcpWithRetries

louisholley avatar Aug 20 '21 15:08 louisholley

Yes I have exact the same issue on Android. Ios looks fine. Any solution or workaround for this?

fyelci avatar Feb 20 '22 14:02 fyelci

Yeah I have the same issue. Any update?

abdoerrahiem avatar Mar 20 '22 11:03 abdoerrahiem

Yeah I have the same issue. Any update?

suwu150 avatar Jun 08 '22 02:06 suwu150

As I remember I solved this by ejecting expo. But it's been quite some time, I'm not too sure. If you are using expo, you might give it a try.

fyelci avatar Jun 08 '22 09:06 fyelci

The lib does not support expo https://github.com/GetStream/flat-list-mvcp#expo-support

jose-bernhardt avatar Jul 13 '22 23:07 jose-bernhardt

@vishalnarkhede @santhoshvai Can you please look into this and try to resolve we are blocking for release for this reason. its 1 to 2 times its working after that not working. not sure it's working or not.

codal-mpawar avatar Jan 03 '23 15:01 codal-mpawar

I am observing the same thing. On iOS it working fine. On Android, whenever I prepend to the data array, the flatlist jumps to the first item.

bumpingChris avatar Jan 11 '23 07:01 bumpingChris

have anyone found solution to that? please do share.

tauntmachine avatar Jul 11 '23 10:07 tauntmachine