0
Push Notification
을 구현하는 단계별 프로세스를 react-native-ios
에 참조하십시오.반응식 네이티브 코드에서 푸시 알림을 구현하는 방법
나는이 링크를 발견 : Push Notification- react-native
을하지만 완벽한 방법을 구현하는 것이 무엇인지 이해 할 수없는입니다.
Push Notification
을 구현하는 단계별 프로세스를 react-native-ios
에 참조하십시오.반응식 네이티브 코드에서 푸시 알림을 구현하는 방법
나는이 링크를 발견 : Push Notification- react-native
을하지만 완벽한 방법을 구현하는 것이 무엇인지 이해 할 수없는입니다.
// Required for the register event.
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken
{
[RCTPushNotificationManager application:application didRegisterForRemoteNotificationsWithDeviceToken:deviceToken];
}
// Required for the notification event.
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification
{
[RCTPushNotificationManager application:application didReceiveRemoteNotification:notification];
}
// Required to register for notifications
- (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings { [RCTPushNotificationManager didRegisterUserNotificationSettings:notificationSettings]; }
// Required for the register event.
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken { [RCTPushNotificationManager didRegisterForRemoteNotificationsWithDeviceToken:deviceToken]; }
// Required for the notification event.
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification
{
[RCTPushNotificationManager didReceiveRemoteNotification:notification];
}
@sandy :하지만 당신은 푸시 알림 구현을 위해 주로 필수 인 부분을 언급하지 않았습니다. – BK19