Standalone iOS crashes on Push Notes "ExPendingNotification"

Hi,

I am testing push notifications and my standalone iOS app ejected from Expo 32 is constantly crashing on

_pendingNotifications[pendingNotification.experienceId] = pendingNotification;

in ExUserNotificationManager.m

The problem is pendingNotification.experienceId is null.

It’s failing on:

- (void)userNotificationCenter:(UNUserNotificationCenter *)

and

EXPendingNotification *pendingNotification = [[EXPendingNotification alloc] initWithNotification:notification];

Any idea how to work around this?

I have fixed it temporarily by adding

userInfo: { id: '123', experienceId: '1' }

to my notification.

Note I am using zo0r/react-native-push-notifcation

Got the sample issue, any plan to fix this?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.