Luehang/react-native-smart-gallery

[BUG] Warning - Animated: `useNativeDriver` was not specified in RN 0.62.2

Opened this issue · 2 comments

To Do First

  • Did you try latest release?
  • Did you look for existing matching issues?

Software Package Version:

Describe the bug
A warning shows up since I upgraded to RN0.62.2:

Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`

To Reproduce
Upgrade to the latest version and use the swipe down gesture to dismiss a modal

Expected behavior
No warning would show up

Screenshots
iPhone SE (12 0) 2020-04-14 12-47-17
Version (please complete the following information):

  • Device: simulator
  • Android: all
  • iOS: all
  • react-native: 0.62.2
  • react: 16.11.0

Additional context

System:
    OS: macOS 10.15.4
    CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
    Memory: 1.27 GB / 32.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.16.3 - /usr/local/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.7.5 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 23, 26, 27, 28, 29
      Build Tools: 23.0.1, 25.0.0, 26.0.3, 27.0.3, 28.0.1, 28.0.2, 28.0.3
      System Images: android-24 | Google APIs Intel x86 Atom, android-24 | Google Play Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.6 AI-192.7142.36.36.6308749
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_221 - /usr/bin/javac
    Python: 3.7.5 - /usr/local/opt/python/libexec/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: ^16.11.0 => 16.11.0
    react-native: ^0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found

It seems to be coming from this dependency where I provided a fix. Luehang/react-native-easy-view-transformer#8

@Luehang
Hello! Can we do it? Thanks!)