The new 0.11.1 SDK has been handling our App going into the background during scanning much, much better than previous versions. Thank you Structure team, the stability improvements are very appreciated!
However, it has been noticed that pulling down the iOS’s “notification center” (lock screen) or the quick settings section still causes crashing when initiated during a scan.
After some investigation, I found this old thread that claims iOS itself may mishandle the callback for ‘applicationWillResignActive’ in this context (calling it twice and also possibly firing applicationDidBecomeActive unexpectedly) which would explain why fully closing the app into the background is stable but pulling down the notification center for just a moment is more problematic for the SDK. Just an idea after a small bit of research, it could be for another reason.