Skip to content

Commit

Permalink
alternative way to set property
Browse files Browse the repository at this point in the history
This is the only other way I can think of.  re #139 and #140
  • Loading branch information
joenoon committed Jan 9, 2016
1 parent 4b7e624 commit 8dc41fa
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 8dc41fa

Please sign in to comment.