ios
ios copied to clipboard
Issue when Archive
the error will be shown when i archive project ,but on debug mode it works without any problem
I imported #import <UserNotifications/UserNotifications.h> #import <RNCPushNotificationIOS.h>
Also I have added #IF Debug Debug line to AppDelegate.m also imported
#IF Debug
#import <UserNotifications/UNUserNotificationCenter.h>
and i added UNUserNotificationCenterDelegate to protocols in AppDelegete.h

same issue
Hey, I just resolved with this #import <UserNotifications/UserNotifications.h> #import <RNCPushNotificationIOS.h> #ifdef FB_SONARKIT_ENABLED //import above this line
Hey, I just resolved with this #import <UserNotifications/UserNotifications.h> #import <RNCPushNotificationIOS.h> #ifdef FB_SONARKIT_ENABLED //import above this line
This actually worked to solve my problem as well. If anyone finds that the headers placed after the #ifdef are not resolving, moving them above that line fixes that problem.