Skip to content

Commit

Permalink
This is a weird patch to get RCTAnimation working
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Robertson committed Jun 29, 2017
1 parent 016b1d4 commit d3cd089
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ target 'LearnYouKanji' do
'Core',
'BatchedBridge', # bridge ?
# 'CxxBridge', # bridge ?
# 'RCTAnimation', # Error with this one
'RCTAnimation', # Error with this one
# 'RCTDeviceEventEmitter', # deprecated ?
'RCTPushNotification',
'RCTImage',
Expand Down
5 changes: 4 additions & 1 deletion ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ PODS:
- React/cxxreact_legacy (0.45.1):
- React/jschelpers_legacy
- React/jschelpers_legacy (0.45.1)
- React/RCTAnimation (0.45.1):
- React/Core
- React/RCTImage (0.45.1):
- React/Core
- React/RCTNetwork
Expand All @@ -27,6 +29,7 @@ PODS:
DEPENDENCIES:
- React/BatchedBridge (from `../node_modules/react-native`)
- React/Core (from `../node_modules/react-native`)
- React/RCTAnimation (from `../node_modules/react-native`)
- React/RCTImage (from `../node_modules/react-native`)
- React/RCTLinkingIOS (from `../node_modules/react-native`)
- React/RCTNetwork (from `../node_modules/react-native`)
Expand All @@ -46,6 +49,6 @@ SPEC CHECKSUMS:
React: 0c9191a8b0c843d7004f950ac6b5f6cba9d125c7
Yoga: 89c8738d42a0b46a113acb4e574336d61cba2985

PODFILE CHECKSUM: 7106c7b74f21644f4b0f432d7bc3347c162c2e6d
PODFILE CHECKSUM: 8f8410c92ff86ceb463b63187f33460e66d0cb90

COCOAPODS: 1.2.1
5 changes: 5 additions & 0 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start"
"start": "node node_modules/react-native/local-cli/cli.js start",
"postinstall": "sed -i '' 's/#import <RCTAnimation\\/RCTValueAnimatedNode.h>/#import \"RCTValueAnimatedNode.h\"/' ./node_modules/react-native/Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.h"
},
"dependencies": {
"prop-types": "^15.5.10",
Expand Down

0 comments on commit d3cd089

Please sign in to comment.