fix some bugs (#260)

* fix some bugs

* fix some bugs
This commit is contained in:
菩提
2020-01-15 20:54:19 +08:00
committed by Jaco Greeff
parent e65e5460e5
commit 74393eddce
4 changed files with 6 additions and 4 deletions
@@ -77,6 +77,7 @@ import com.android.build.OutputFile
project.ext.react = [
entryFile: "index.js",
nodeExecutableAndArgs : ["node","--max_old_space_size=8192"],
enableHermes: false, // clean and rebuild if changing
]
@@ -161,7 +161,6 @@
7DE1F6B3025518D718441D67 /* Pods-exampleReactNativeTests.debug.xcconfig */,
FD82CB3C48B719DCC61D04D7 /* Pods-exampleReactNativeTests.release.xcconfig */,
);
name = Pods;
path = Pods;
sourceTree = "<group>";
};
@@ -308,6 +307,7 @@
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
Base,
);
@@ -371,7 +371,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
shellScript = "export NODE_BINARY=node\nexport NODE_ARGS=--max_old_space_size=8192\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
};
1F39ED716AE6354C4F187983 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
/* eslint-disable no-global-assign */
import 'fast-text-encoding';
import AsyncStorage from '@react-native-community/async-storage';
class Storage {
+2 -1
View File
@@ -34,7 +34,8 @@
"react-native": "^0.61.4",
"react-native-crypto": "^2.2.0",
"react-native-randombytes": "^3.5.3",
"stream-http": "^3.1.0"
"stream-http": "^3.1.0",
"fast-text-encoding": "^1.0.0"
},
"devDependencies": {
"@babel/core": "^7.7.7",