mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-26 23:30:49 +08:00
add comments and remove native in-mem caching
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user