Skip to content
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

Bug in IBGPushNotificationsManager #51

Closed
mpsnp opened this issue Feb 3, 2016 · 9 comments
Closed

Bug in IBGPushNotificationsManager #51

mpsnp opened this issue Feb 3, 2016 · 9 comments

Comments

@mpsnp
Copy link

mpsnp commented Feb 3, 2016

Unfortunately after update to 5.0.x appeared crash on receiving push notification:

-[AppDelegate application:didReceiveRemoteNotification:]
-[IBGPushNotificationsManager handleSwizzledRemoteNotificationReceived:notification:completionHandler:originalMethodImplementaion:selector:]
-[IBGPushNotificationsManager didReceiveNotificationSwizzler]_block_invoke
-[IBGMethodSwizzler application:didReceiveRemoteNotification:]

Whats strange, in app delegate self is IBGPushNotificationsManager.

@mzsoliman
Copy link
Contributor

@mpsnp thanks for reporting this. I need more info to troubleshoot this though.
Was this notification related to your app or Instabug? Also would you mind sharing your AppDelegate structure? do you implement application: didReceiveRemoteNotification?

Can you try disabling Instabug's push notifications and let me know how it goes?
[Instabug setPushNotificationsEnabled: NO]

@mpsnp
Copy link
Author

mpsnp commented Feb 3, 2016

@MSoliman, I think bug is related to Instabug, because with v4.x everything works as expected.

Our service sending push notifications which i'm handling in application: didReceiveRemoteNotification:.

Bug is that IBGPushNotificationsManager performs selector application: didReceiveRemoteNotification: (of my AppDelegate) on itself.
In other words, stopping debugger inside of my implementation of application: didReceiveRemoteNotification: shows that self is instance of class IBGPushNotificationsManager

@m619
Copy link

m619 commented Feb 3, 2016

Hi @mpsnp! Would you please try the attached build and let us know if you're still experiencing this? Thank you!
InstabugAPNSFix.zip

@ljkyser
Copy link

ljkyser commented Feb 4, 2016

We are experiencing the same issue after the update, no problems before.

@m619
Copy link

m619 commented Feb 4, 2016

@ljkyser Did you try version 5.0.2? You can run pod outdated to make sure, if you're using CocoaPods.

@ljkyser
Copy link

ljkyser commented Feb 4, 2016

@m619 don't believe so, I will look in to that now.

@ljkyser
Copy link

ljkyser commented Feb 4, 2016

@m619 We were using 5.0.0, we're updating to 5.0.2. Will let you know if that solves it from our end. Thanks!

@mzsoliman
Copy link
Contributor

@ljkyser are you still getting this bug?

@ljkyser
Copy link

ljkyser commented Feb 12, 2016

@MSoliman hey, sorry for not responding sooner. No, we are not getting that bug anymore once we updated to 5.0.2. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants