Merge pull request #5438 from BlueWallet/oops

FIX: oops...
This commit is contained in:
GLaDOS 2023-04-04 08:09:56 +01:00 committed by GitHub
commit 9203995c94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View File

@ -1,8 +1,6 @@
#import <RCTAppDelegate.h>
#import <UIKit/UIKit.h>
#import <UserNotifications/UNUserNotificationCenter.h>
#import <UIKit/UIKit.h>
@interface AppDelegate : RCTAppDelegate <UIApplicationDelegate, UNUserNotificationCenterDelegate>
@interface AppDelegate : RCTAppDelegate
@end

View File

@ -12,6 +12,9 @@
#import <React/RCTRootView.h>
#import <WatchConnectivity/WatchConnectivity.h>
@interface AppDelegate() <UNUserNotificationCenterDelegate>
@end
@implementation AppDelegate
@ -34,7 +37,7 @@
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
moduleName:@"RNWatchExample"
moduleName:self.moduleName
initialProperties:nil];
if (@available(iOS 13.0, *)) {

View File

@ -15,7 +15,7 @@ static EventEmitter *sharedInstance;
RCT_EXPORT_MODULE();
+ (BOOL)requiresMainQueueSetup {
return YES;
return NO;
}
+ (EventEmitter *)sharedInstance {