Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
iOS
Description
Discussion in https://github.com/apache/cordova-plugin-splashscreen/pull/21
Fix here: https://gist.github.com/shazron/e45705f76bef4448139a/e6e1820943197e48fd6baf44b765ebdea0252b04
Affected lines:
https://github.com/apache/cordova-plugin-splashscreen/blob/35272415d3b75440b1ea5fe9a5baab5e1586b3c1/src/ios/CDVSplashScreen.m#L292-L304
Crash causes:
1. retain cycle problem on self in the block
2. performing UIKit operations while not in the main thread.