Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

alternative way to set property #141

Merged
merged 1 commit into from
Jan 9, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CodePush.m
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ - (void)loadBundle
// 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];
Expand Down Expand Up @@ -492,4 +492,4 @@ - (void)savePendingUpdate:(NSString *)packageHash
}
}

@end
@end