Compare commits
No commits in common. "7e4c385083d35755c5390bd44c31d967a510421a" and "a4bbd841367ce2fc7609993c103e821ad466ca60" have entirely different histories.
7e4c385083
...
a4bbd84136
4 changed files with 15 additions and 6 deletions
|
|
@ -81,10 +81,6 @@ project.ext.react = [
|
||||||
]
|
]
|
||||||
|
|
||||||
apply from: "../../node_modules/react-native/react.gradle"
|
apply from: "../../node_modules/react-native/react.gradle"
|
||||||
|
|
||||||
project.ext.vectoricons = [
|
|
||||||
iconFontNames: [ 'MaterialCommunityIcons.ttf'] // Name of the font files you want to copy
|
|
||||||
]
|
|
||||||
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
|
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
|
#import <UMReactNativeAdapter/UMModuleRegistryAdapter.h>
|
||||||
#import <React/RCTBridgeDelegate.h>
|
#import <React/RCTBridgeDelegate.h>
|
||||||
|
#import <UMCore/UMAppDelegateWrapper.h>
|
||||||
|
|
||||||
@interface AppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate>
|
@interface AppDelegate : UMAppDelegateWrapper <RCTBridgeDelegate>
|
||||||
|
|
||||||
|
@property (nonatomic, strong) UMModuleRegistryAdapter *moduleRegistryAdapter;
|
||||||
@property (nonatomic, strong) UIWindow *window;
|
@property (nonatomic, strong) UIWindow *window;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,10 @@
|
||||||
#import <React/RCTBundleURLProvider.h>
|
#import <React/RCTBundleURLProvider.h>
|
||||||
#import <React/RCTRootView.h>
|
#import <React/RCTRootView.h>
|
||||||
|
|
||||||
|
#import <UMCore/UMModuleRegistry.h>
|
||||||
|
#import <UMReactNativeAdapter/UMNativeModulesProxy.h>
|
||||||
|
#import <UMReactNativeAdapter/UMModuleRegistryAdapter.h>
|
||||||
|
|
||||||
#import <React/RCTLinkingManager.h>
|
#import <React/RCTLinkingManager.h>
|
||||||
#import "RNSplashScreen.h"
|
#import "RNSplashScreen.h"
|
||||||
|
|
||||||
|
|
@ -27,6 +31,8 @@
|
||||||
|
|
||||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
||||||
{
|
{
|
||||||
|
self.moduleRegistryAdapter = [[UMModuleRegistryAdapter alloc] initWithModuleRegistryProvider:[[UMModuleRegistryProvider alloc] init]];
|
||||||
|
|
||||||
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
|
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
|
||||||
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"main" initialProperties:nil];
|
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"main" initialProperties:nil];
|
||||||
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
|
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
platform :ios, '9.0'
|
platform :ios, '10.0'
|
||||||
|
|
||||||
|
require_relative '../node_modules/react-native-unimodules/cocoapods'
|
||||||
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
||||||
|
|
||||||
target 'Campus' do
|
target 'Campus' do
|
||||||
|
|
@ -37,6 +38,9 @@ target 'Campus' do
|
||||||
|
|
||||||
# Other native modules
|
# Other native modules
|
||||||
|
|
||||||
|
# Automatically detect installed unimodules
|
||||||
|
use_unimodules!
|
||||||
|
|
||||||
# react-native-cli autolinking
|
# react-native-cli autolinking
|
||||||
use_native_modules!
|
use_native_modules!
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue