Skip to content

Commit

Permalink
Update react-native-reanimated
Browse files Browse the repository at this point in the history
  • Loading branch information
pappnu committed Aug 21, 2021
1 parent c70e089 commit 516b1f9
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"presets": ["module:metro-react-native-babel-preset", "@babel/preset-flow"],
"plugins": [],
"plugins": ["react-native-reanimated/plugin"],
"env": {
"production": {
"plugins": ["react-native-paper/babel"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
import com.facebook.soloader.SoLoader;
import java.lang.reflect.InvocationTargetException;
import com.utopia.pxviewr.UgoiraView.UgoiraViewPackage;
import com.facebook.react.bridge.JSIModulePackage;
import com.swmansion.reanimated.ReanimatedJSIModulePackage;

import java.util.Arrays;
import java.util.List;
Expand All @@ -43,6 +45,11 @@ protected List<ReactPackage> getPackages() {
protected String getJSMainModuleName() {
return "index";
}

@Override
protected JSIModulePackage getJSIModulePackage() {
return new ReanimatedJSIModulePackage();
}
};

@Override
Expand Down
80 changes: 36 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
"@react-native-community/datetimepicker": "^3.5.2",
"@react-native-community/masked-view": "^0.1.11",
"@react-native-community/netinfo": "^6.0.0",
"@react-native-firebase/analytics": "^12.7.1",
"@react-native-firebase/app": "^12.7.1",
"@react-native-firebase/crashlytics": "^12.7.1",
"@react-native-firebase/database": "^12.7.1",
"@react-native-firebase/perf": "^12.7.1",
"@react-native-firebase/remote-config": "^12.7.1",
"@react-native-firebase/analytics": "^12.7.2",
"@react-native-firebase/app": "^12.7.2",
"@react-native-firebase/crashlytics": "^12.7.2",
"@react-native-firebase/database": "^12.7.2",
"@react-native-firebase/perf": "^12.7.2",
"@react-native-firebase/remote-config": "^12.7.2",
"@react-navigation/core": "^6.0.1",
"@react-navigation/drawer": "^6.1.4",
"@react-navigation/elements": "^1.1.0",
Expand Down Expand Up @@ -71,7 +71,7 @@
"react-native-photo-view-ex": "^1.1.0",
"react-native-pkce-challenge": "^3.0.0",
"react-native-progress": "^5.0.0",
"react-native-reanimated": "^1.13.3",
"react-native-reanimated": "^2.3.0-alpha.2",
"react-native-safe-area-context": "^3.3.0",
"react-native-screens": "^3.5.0",
"react-native-share": "^7.0.0",
Expand Down

0 comments on commit 516b1f9

Please sign in to comment.