Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Huawei, Android 7 fix + Wrapped in Animated View Fix #44

Merged
merged 1 commit into from
Sep 2, 2017

Conversation

DigohD
Copy link
Contributor

@DigohD DigohD commented Aug 24, 2017

Fixes for issues:

#43 , Which turned out to probably be an error specifically for Huawei devices running Android 7. The fix was to push a perspective in the same transforms as the scales in Back. In the fix I use the perspective provided to the FlipCard.

#42 , I added a new prop to flipcard called useNativeDriver. It is set to true by default. When true, however, it seems to break the flipcard when it is provided an animated style, in my case while animating the margins of the style. Enabling the ability to set it to false solves this issue.

Hope this will help. I've tested it in my project and it seems to work fine.

@DigohD DigohD closed this Aug 24, 2017
@DigohD
Copy link
Contributor Author

DigohD commented Aug 24, 2017

Closed pull request. Flip card now freezes randomly about 10% of the time with error:

"Maximum call stack size exceeded"

@DigohD
Copy link
Contributor Author

DigohD commented Aug 24, 2017

After some testing I've concluded that the issue was how I was conditionally rendering the card back, and thus had nothing with FlipCard to do. Reopening the pull request.

@DigohD DigohD reopened this Aug 24, 2017
@moschan moschan merged commit 2cb7cd3 into moschan:master Sep 2, 2017
@mkozhukharenko
Copy link
Contributor

mkozhukharenko commented Sep 15, 2017

#46 has occurred after merging this MR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants