mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 23:59:42 +08:00
feedback
This commit is contained in:
10
CodePush.m
10
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
|
||||
|
||||
Reference in New Issue
Block a user