New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not swizzling delegate functions correctly for UNUserNotificationCenter.current #122
Comments
hey @andschdk , i thought in your other issue you opened it was tracking for you (at least in foreground). Also let's please try to put everything in one issue as it seems to be related to the same thing |
If it's not tracking for you then can you please give me some more info onto when NotificationManager is initialized and does that manager implement |
Hi @yarneo The order of initialisation is:
With the debugger attached it looks like there is no trouble resolving Is it on purpose that the Have you tried it out yourself or am I on my own here 😕 ? |
hey @andschdk the latest push to master should be able to resolve your issue, ill try to send out a release by end of week! |
Hi @yarneo , thanks for your latest commit. It still fails with the swizzling here: https://github.com/mixpanel/mixpanel-swift/blob/master/Mixpanel/Swizzle.swift#L81 I made some updates in the demo project to illustrate the problem. On branch |
The log:
Where
NotificationManager
is implementingUNUserNotificationCenterDelegate
and setting:The text was updated successfully, but these errors were encountered: