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

Set useNativeDriver explicitly for Animations #633

Merged

Conversation

James-E-Adams
Copy link
Contributor

Overview

Just noticed another flow issue when running flow in our codebase. Eventually useNativeDriver is a non-optional field facebook/react-native@d123bea
so may as well fix this up now.

Test Plan

Run flow!

@James-E-Adams
Copy link
Contributor Author

I have a feeling the CI step failed because of flakiness, but can't rerun it myself.

Copy link
Member

@jgcmarins jgcmarins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interesting, it says that it's false by default
should we let user land handle this?

@James-E-Adams
Copy link
Contributor Author

Yeah it is. I remember reading that eventually it will be true by default somewhere in the code.

We could make it a user decision with false by default - I wouldn't want it true by default because it can occasionally cause problems.

Copy link
Member

@jgcmarins jgcmarins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great.
That's enough for now.
Thanks.

@jgcmarins jgcmarins merged commit 25f5de6 into react-native-share:master Nov 15, 2019
cuonghuynhpycogroup pushed a commit to cuonghuynhpycogroup/react-native-share that referenced this pull request Dec 25, 2019
* master-base: (215 commits)
  Update react-native to 0.61.4 (react-native-share#637)
  Update and fix Gradle setup (react-native-share#588)
  set useNativeDriver explicitly for Animations (react-native-share#633)
  correctly type image source (react-native-share#632)
  ci(fix): adapt to new workflow (react-native-share#626)
  fix: added missing "v" to `source` field in podspec (react-native-share#619)
  chore(readme): mocking with Jest example (react-native-share#610)
  iOS 13: Resolve promise if ShareSheet is manually dismissed (react-native-share#607)
  Update README.md
  fix: remove uncessary tools replace on build gradle
  chore(lint): fixing lint errors
  Makes sharing with Snapchat work on Android (react-native-share#464)
  Fixed validate error
  Removed react-native Share dependency
  Only call successCallback when completed is true
  Change readme.md
  Update Gradle wrapper to 5.6.2
  build(deps): bump eslint-utils from 1.4.0 to 1.4.2 (react-native-share#580)
  Send email to predefined email address - Example
  Send email to predefined email address
  ...
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.

2 participants