alternative way to set property

This is the only other way I can think of.  re #139 and #140
This commit is contained in:
Joe Noon
2016-01-08 16:59:45 -08:00
parent 4b7e62493c
commit 8dc41fa765

View File

@@ -230,7 +230,7 @@ static NSString *const PackageIsPendingKey = @"isPending";
// file (since Chrome wouldn't support it). Otherwise, update
// the current bundle URL to point at the latest update
if ([CodePush isUsingTestConfiguration] || ![_bridge.bundleURL.scheme hasPrefix:@"http"]) {
_bridge.bundleURL = [CodePush bundleURL];
[_bridge setValue:[CodePush bundleURL] forKey:@"bundleURL"];
}
[_bridge reload];
@@ -492,4 +492,4 @@ RCT_EXPORT_METHOD(downloadAndReplaceCurrentBundle:(NSString *)remoteBundleUrl)
}
}
@end
@end