NSUserDefaultsthat indicates the previous session was paused. If the flag is not set, then the ensuing launch will also be treated as a crash.
lifecyclePause(which sets the flag) and
lifecycleStart(which clears the flag).
NSExceptionhandler to provide more detailed crash reporting. Your app is not allowed to have more than one of these kinds of handlers. Adobe decided to not implement a global
NSExceptionhandler to prevent build errors, knowing that our customers might be using other crash reporting providers.
lifecycleStartis called and the app never comes to the foreground, the next launch (whether in the background or foreground) will result in a crash.
NSUserDefaults, while the app is in the background, the next launch or resume causes a crash.
NSUserDefaults. If these values are modified outside the SDK, the data reported will be invalid.
lifecycleStart:, you can optionally pass a dictionary of additional data that will be attached to the lifecycle event.