diff --git a/CodePush.m b/CodePush.m index 0f40f6f..d32b3a9 100644 --- a/CodePush.m +++ b/CodePush.m @@ -46,11 +46,6 @@ static NSString *bundleResourceExtension = @"jsbundle"; #pragma mark - Public Obj-C API -+ (NSURL *)binaryBundleURL -{ - return [[NSBundle mainBundle] URLForResource:bundleResourceName withExtension:bundleResourceExtension]; -} - + (NSURL *)bundleURL { return [self bundleURLForResource:bundleResourceName]; @@ -167,6 +162,11 @@ static NSString *bundleResourceExtension = @"jsbundle"; @synthesize bridge = _bridge; ++ (NSURL *)binaryBundleURL +{ + return [[NSBundle mainBundle] URLForResource:bundleResourceName withExtension:bundleResourceExtension]; +} + /* * This method is used by the React Native bridge to allow * our plugin to expose constants to the JS-side. In our case