add comments and remove native in-mem caching

This commit is contained in:
Geoffrey Goh
2016-02-26 11:40:27 -08:00
parent c1187dbffb
commit 1c74ab3903
5 changed files with 49 additions and 63 deletions

View File

@@ -447,6 +447,9 @@ RCT_EXPORT_METHOD(getConfiguration:(RCTPromiseResolveBlock)resolve
}
if (binaryHash == nil) {
// The hash was not generated either due to a previous unknown error or the fact that
// the React Native assets were not bundled in the binary (e.g. during dev/simulator)
// builds.
resolve(configuration);
return;
}