mirror of
https://github.com/status-im/react-native.git
synced 2025-02-06 22:54:27 +00:00
64a4c6070d
Summary: - Consolidate common code in iOS and tvOS test scripts - Start the packager before starting tests, to improve reliability - Increase timeout value in RCTTestRunner.m Closes https://github.com/facebook/react-native/pull/10378 Differential Revision: D4028364 Pulled By: bestander fbshipit-source-id: 24c2124a1c62643a02f0668b60a67b971e08d1a3
23 lines
818 B
Objective-C
23 lines
818 B
Objective-C
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
#import "RCTEventEmitter.h"
|
|
|
|
@interface RCTPushNotificationManager : RCTEventEmitter
|
|
|
|
#if !TARGET_OS_TV
|
|
+ (void)didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings;
|
|
+ (void)didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken;
|
|
+ (void)didReceiveRemoteNotification:(NSDictionary *)notification;
|
|
+ (void)didReceiveLocalNotification:(UILocalNotification *)notification;
|
|
+ (void)didFailToRegisterForRemoteNotificationsWithError:(NSError *)error;
|
|
#endif
|
|
|
|
@end
|