|
@@ -10,10 +10,6 @@
|
10
|
10
|
#import <React/RCTBundleURLProvider.h>
|
11
|
11
|
#import <React/RCTRootView.h>
|
12
|
12
|
|
13
|
|
-#import <UMCore/UMModuleRegistry.h>
|
14
|
|
-#import <UMReactNativeAdapter/UMNativeModulesProxy.h>
|
15
|
|
-#import <UMReactNativeAdapter/UMModuleRegistryAdapter.h>
|
16
|
|
-
|
17
|
13
|
#import <React/RCTLinkingManager.h>
|
18
|
14
|
#import "RNSplashScreen.h"
|
19
|
15
|
|
|
@@ -31,8 +27,6 @@
|
31
|
27
|
|
32
|
28
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
33
|
29
|
{
|
34
|
|
- self.moduleRegistryAdapter = [[UMModuleRegistryAdapter alloc] initWithModuleRegistryProvider:[[UMModuleRegistryProvider alloc] init]];
|
35
|
|
-
|
36
|
30
|
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
|
37
|
31
|
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"main" initialProperties:nil];
|
38
|
32
|
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
|