georstat/react-native-image-cache

Reanimated 2.5.0 typings and variant Violation

Closed this issue · 0 comments

This applies only for version 2.0.0 of this module.

Since react-native-reanimated 2.5.0 has some issues with typings, we had to use ~2.3.3 while building the module. You might get variant Violation: Module AppRegistry is not a registered callable module if you're using 2.5.0 on your project.

Please use yarn resolutions in your package.json as:

  "resolutions": {
    "react-native-reanimated": "2.5.0"
  }

This will force all modules using versions older than 2.5.0 to use that version.

If you're using npm instead of yarn then use this: https://www.npmjs.com/package/npm-force-resolutions

When this PR from reanimated team is released we will update the module.