From f7f54127fbc837f2c233743ea9a6960c24be18ad Mon Sep 17 00:00:00 2001 From: Heo Sangmin Date: Mon, 8 Mar 2021 02:49:51 +0900 Subject: [PATCH] fix: use setServerBasePath instead of using loadURL (issue #18) --- ios/Plugin/CodePush.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Plugin/CodePush.m b/ios/Plugin/CodePush.m index fe9ede7d..3a2c59bf 100644 --- a/ios/Plugin/CodePush.m +++ b/ios/Plugin/CodePush.m @@ -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; }