Skip to content

Commit

Permalink
fix: use setServerBasePath instead of using loadURL (issue #18)
Browse files Browse the repository at this point in the history
  • Loading branch information
leo6104 committed Mar 7, 2021
1 parent 390fdf9 commit f7f5412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Plugin/CodePush.m
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ - (void)applicationWillResignActive {
- (BOOL)loadPackage:(NSString*)packageLocation {
NSURL* URL = [self getStartPageURLForLocalPackage:packageLocation];
if (URL) {
[self loadURL:URL];
[self setServerBasePath:URL.path];
return YES;
}

Expand Down

0 comments on commit f7f5412

Please sign in to comment.