- 37개 파일 IP → zioinfo.co.kr 치환 (소스/매뉴얼/설정/하네스) - Manager DrConsole/NetworkConsole/CsapConsole 빌드 + /var/www/manager/ 배포 - 테스트: Manager HTTP 200, ITSM 신규 API 7개 전체 200 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
54 lines
2.3 KiB
Objective-C
54 lines
2.3 KiB
Objective-C
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <React/RCTEventEmitter.h>
|
|
|
|
extern NSString *const RCTRemoteNotificationReceived;
|
|
|
|
@interface RCTPushNotificationManager : RCTEventEmitter
|
|
|
|
typedef void (^RCTRemoteNotificationCallback)(UIBackgroundFetchResult result);
|
|
|
|
+ (void)didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken;
|
|
+ (void)didFailToRegisterForRemoteNotificationsWithError:(NSError *)error;
|
|
/**
|
|
* Triggers remoteNotificationReceived or localNotificationReceived events.
|
|
*
|
|
* Call this method from UNUserNotificationCenterDelegate's
|
|
* `userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:` in order to process a user tap on a
|
|
* notification.
|
|
*
|
|
* To process notifications received while the app is in the foreground, call this method from
|
|
* `userNotificationCenter:willPresentNotification:withCompletionHandler:`. Use the completion handler to determine if
|
|
* the push notification should be shown; to match prior behavior which does not show foreground notifications, use
|
|
* UNNotificationPresentationOptionNone.
|
|
*
|
|
* If you need to determine if the notification is remote, check that notification.request.trigger
|
|
* is an instance of UNPushNotificationTrigger.
|
|
*/
|
|
+ (void)didReceiveNotification:(UNNotification *)notification;
|
|
/**
|
|
* Call this from your app delegate's `application:didReceiveRemoteNotification:fetchCompletionHandler:`. If you
|
|
* implement both that method and `userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:`, only
|
|
* the latter will be called.
|
|
*/
|
|
+ (void)didReceiveRemoteNotification:(NSDictionary *)notification
|
|
fetchCompletionHandler:(RCTRemoteNotificationCallback)completionHandler;
|
|
|
|
/**
|
|
* Call this in `userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:`
|
|
* to get the correct value from .getInitialNotification in JS.
|
|
*/
|
|
+ (void)setInitialNotification:(UNNotification *)notification;
|
|
|
|
/** DEPRECATED. Use didReceiveNotification instead. */
|
|
+ (void)didReceiveLocalNotification:(UILocalNotification *)notification RCT_DEPRECATED;
|
|
/** DEPRECATED. Use didReceiveNotification instead. */
|
|
+ (void)didReceiveRemoteNotification:(NSDictionary *)notification RCT_DEPRECATED;
|
|
|
|
@end
|