react-native-flip-view icon indicating copy to clipboard operation
react-native-flip-view copied to clipboard

Not Working on Android

Open alexprice1 opened this issue 8 years ago • 7 comments

This doesn't appear to be working on Android. The front card seems to be completely white no matter what I do. If I flip the card, the back side shows up fine.

alexprice1 avatar Sep 04 '16 02:09 alexprice1

me too~!

StevenKing9 avatar Sep 12 '16 10:09 StevenKing9

+1

aprct avatar Oct 13 '16 20:10 aprct

+1

evollu avatar Nov 16 '16 00:11 evollu

looks like it is because backfaceVisibility is missing in android https://github.com/facebook/react-native/issues/1973

evollu avatar Nov 16 '16 01:11 evollu

Hey Guys. Did you managed to solve this? I'm also with the same problem.

norbajunior avatar Nov 30 '16 12:11 norbajunior

I had made a pull request to fix this.

jp928 avatar Dec 18 '16 22:12 jp928

I've created https://github.com/dgladkov/react-native-flip-view-next that includes a similar fix to the PR mentioned above.

My solution uses single Animated.Value for all animations and uses different interpolation function for opacity: instead of linear opacity transition used here it toggles between 0/1 as it reaches half transition (180deg rotation), emulating backfaceVisibility support on Android.

dgladkov avatar Oct 07 '17 11:10 dgladkov