1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-31 21:33:12 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

chore: cleanup

This commit is contained in:
sunnylqm
2023-09-02 22:35:45 +08:00
parent 8bf1fed3f8
commit 6d01ce5152
6 changed files with 42 additions and 59 deletions

View File

@@ -1,5 +1,5 @@
#import "AppDelegate.h"
#import "RCTPushy.h"
#import <React/RCTBridge.h>
#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>
@@ -87,7 +87,7 @@ static NSString *const kRNConcurrentRoot = @"concurrentRoot";
#if DEBUG
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
#else
return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
return [RCTPushy bundleURL];
#endif
}