The reason for this is I’m using Segment to handle analytics, and I need to let it know when a device registered for remote notifications so I added the
application didRegisterForRemoteNotificationsWithDeviceToken method to my
AppDelegate.m, and this seems to be overriding
EXPushTokenManager.m. Is there any way to do this?
I tried making my AppDelegate a
EXPushTokenListener by making it conform to the protocol and removing
didRegisterForRemoteNotificationsWithDeviceToken and that didn’t work as the
EXPushTokenListener protocol methods aren’t getting called in my
AppDelegate.m. So now
UIApplicationDelegate methods are called, but now Segment isn’t receiving new device tokens.
Using ExpoSDK 40, and