You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just want to provide my AppDelegate+notification.m file that fixes most (all?) of the crashing that's in the current iOS build (even 4.0.0). Click the link to check it out.
Implementing a couple of lines of my own to prevent further crashing.
I've had this running in production for a few months and I think there's no problems but I would highly recommend that you do your own thorough testing before going into production. Initially the changes were added to the dev version but I recently added them to 4.0.0 and see no issues there either.
And as @igorsantos07 says in his fix, these are basically workarounds made to prevent crashing more than anything else. There's probably better ways to fix each of the above but that would require someone with the time to implement things properly. I'd love to see someone step up and do that :)
Thanks to everyone that contributed!
The text was updated successfully, but these errors were encountered:
@Jammmmm Thanks for this. And also perfect timing (just about to release a new version).
No problem, @gabn88! Just make sure you do your own testing. My notification payloads may be different to everyone else's so I might not experience crashing but others still might.
Hi everyone.
I just want to provide my AppDelegate+notification.m file that fixes most (all?) of the crashing that's in the current iOS build (even 4.0.0). Click the link to check it out.
I've done the following:
I've had this running in production for a few months and I think there's no problems but I would highly recommend that you do your own thorough testing before going into production. Initially the changes were added to the dev version but I recently added them to 4.0.0 and see no issues there either.
And as @igorsantos07 says in his fix, these are basically workarounds made to prevent crashing more than anything else. There's probably better ways to fix each of the above but that would require someone with the time to implement things properly. I'd love to see someone step up and do that :)
Thanks to everyone that contributed!
The text was updated successfully, but these errors were encountered: