Closed xoridius closed 3 years ago
Hi, Thank you for reporting this issue. Yes, we do initialize SDK in background by default and didn't expect a crash there. So, we'll go deeper for solution.
In the meantime, you can add following key-value pair into Info.plist file in order to disable autoinitialization:
<key>MyTargetSDKAutoInitMode</key> <false/>
An issue has been fixed in 5.11.2
SDK initializes itself in
MTRGManager +load
and immediately accesses UIKit classes from background thread, causing a crash.Please do not use +load in SDK and let developer decide on the right time for initialization.
Stack trace: