One other thing I tried was adding:
NSSetUncaughtExceptionHandler { exception in
Mint.sharedInstance().flush()
}
In the application callback of AppDelegate as an attempt to "last breath" flush but again that made no difference. Once in a rare while, restarting the app does upload the previous crash but only 1 in say 50 attempts.
If we setLogging(0), then we're 100% successful uploading crashes. In this case, in a rare while the crash log doesn't upload until you restart, but in either case, when setLogging(0) is set, we never lose the crash log.
... View more