Sometimes serializing/deserializing notifications can throw OutOfMemoryError.
In Java it's not descendant of Exception, needs to be handled separately (don't want to catch Throwable, since that would include other exception that mean worse things we don't want to handle).
It is better to lose a notification than to lose them all or crash. Also, we have a whole set of fallbacks, so some of these catches will be recoverable.
https://github.com/Unity-Technologies/com.unity.mobile.notifications/issues/151
Sometimes serializing/deserializing notifications can throw OutOfMemoryError. In Java it's not descendant of Exception, needs to be handled separately (don't want to catch Throwable, since that would include other exception that mean worse things we don't want to handle). It is better to lose a notification than to lose them all or crash. Also, we have a whole set of fallbacks, so some of these catches will be recoverable.