mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
commit
9203995c94
@ -1,8 +1,6 @@
|
|||||||
#import <RCTAppDelegate.h>
|
#import <RCTAppDelegate.h>
|
||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
#import <UserNotifications/UNUserNotificationCenter.h>
|
|
||||||
#import <UIKit/UIKit.h>
|
|
||||||
|
|
||||||
@interface AppDelegate : RCTAppDelegate <UIApplicationDelegate, UNUserNotificationCenterDelegate>
|
@interface AppDelegate : RCTAppDelegate
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
@ -12,6 +12,9 @@
|
|||||||
#import <React/RCTRootView.h>
|
#import <React/RCTRootView.h>
|
||||||
#import <WatchConnectivity/WatchConnectivity.h>
|
#import <WatchConnectivity/WatchConnectivity.h>
|
||||||
|
|
||||||
|
@interface AppDelegate() <UNUserNotificationCenterDelegate>
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
@implementation AppDelegate
|
@implementation AppDelegate
|
||||||
|
|
||||||
@ -34,7 +37,7 @@
|
|||||||
|
|
||||||
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
|
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
|
||||||
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
|
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
|
||||||
moduleName:@"RNWatchExample"
|
moduleName:self.moduleName
|
||||||
initialProperties:nil];
|
initialProperties:nil];
|
||||||
|
|
||||||
if (@available(iOS 13.0, *)) {
|
if (@available(iOS 13.0, *)) {
|
||||||
|
@ -15,7 +15,7 @@ static EventEmitter *sharedInstance;
|
|||||||
RCT_EXPORT_MODULE();
|
RCT_EXPORT_MODULE();
|
||||||
|
|
||||||
+ (BOOL)requiresMainQueueSetup {
|
+ (BOOL)requiresMainQueueSetup {
|
||||||
return YES;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (EventEmitter *)sharedInstance {
|
+ (EventEmitter *)sharedInstance {
|
||||||
|
Loading…
Reference in New Issue
Block a user