Fix bugs and issues before first production build

This commit is contained in:
John Lyon-Smith
2018-04-09 08:37:07 -07:00
parent ee836def93
commit 094c9ba25c
5 changed files with 56 additions and 34 deletions

View File

@@ -12,6 +12,7 @@
"scripts": {
"start": "react-native start",
"android": "react-native run-android",
"android:release": "cd android; rm -rf ./app/build && ./gradlew assembleRelease",
"ios": "react-native run-ios",
"test": "node node_modules/jest/bin/jest.js",
"postinstall": "sed -i '' 's/#import <RCTAnimation\\/RCTValueAnimatedNode.h>/#import \"RCTValueAnimatedNode.h\"/' ./node_modules/react-native/Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.h; sed -i '' 's/#import <fishhook\\/fishhook.h>/#import \"fishhook.h\"/' ./node_modules/react-native/Libraries/WebSocket/RCTReconnectingWebSocket.m"