exxbrain edited a comment on issue #530: iOS: "UI API called on a background thread" and plugin is VERY slow to initialise URL: https://github.com/apache/cordova-plugin-camera/issues/530#issuecomment-577229486 Hello, why is it closed? The problem is not fixed yet. As I see the pull request is still not merged... https://github.com/ryaa/cordova-plugin-camera/commit/a998ef45d902b514fc1dea53ebb24439034ac108 ``` Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setSourceType:] PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0 Backtrace: 4 ... 0x0000000104d90a48 +[CDVCameraPicker createFromPictureOptions:] + 200 5 ... 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108 6 .. 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336 ... 2020-01-22 17:59:59.131966+0300 [7288:2296174] [reports] Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setSourceType:] PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0 Backtrace: 4 ... 0x0000000104d90a48 +[CDVCameraPicker createFromPictureOptions:] + 200 5 .. 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108 ... ================================================================= Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setAllowsEditing:] PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0 Backtrace: 4 ... 0x0000000104d90a84 +[CDVCameraPicker createFromPictureOptions:] + 260 5 ... 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108 6 ... 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336 7 TCC 0x00000001b7676b60 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + ... 2020-01-22 17:59:59.213461+0300 [7288:2296174] [reports] Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setAllowsEditing:] PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0 Backtrace: 4 ... 0x0000000104d90a84 +[CDVCameraPicker createFromPictureOptions:] + 260 5 ... 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108 6 ... 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336 7 TCC 0x00000001b7676b60 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 7008 8 TCC 0x00000001b767ab28 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 23336 .... ================================================================= Main Thread Checker: UI API called on a background thread: -[UIImagePickerController sourceType] PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0 Backtrace: 4 ... 0x0000000104d90a9c +[CDVCameraPicker createFromPictureOptions:] + 284 5 ... 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108 6 ... 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336 7 TCC 0x00000001b7676b60 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 7008 8 TCC 0x00000001b767ab28 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + .... 2020-01-22 17:59:59.262280+0300 [7288:2296174] [reports] Main Thread Checker: UI API called on a background thread: -[UIImagePickerController sourceType] PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0 Backtrace: 4 ... 0x0000000104d90a9c +[CDVCameraPicker createFromPictureOptions:] + 284 5 ... 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108 6 ... 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336 .... ================================================================= Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setMediaTypes:] PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0 Backtrace: 4 ... 0x0000000104d90b08 +[CDVCameraPicker createFromPictureOptions:] + 392 5 .... 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108 6 ... 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336 7 TCC 0x00000001b7676b60 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 7008 8 TCC 0x00000001b767ab28 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 23336 ... 2020-01-22 17:59:59.310221+0300 [7288:2296174] [reports] Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setMediaTypes:] PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0 Backtrace: 4 ... 0x0000000104d90b08 +[CDVCameraPicker createFromPictureOptions:] + 392 5 ... 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108 6 ... 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336 7 TCC 0x00000001b7676b60 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 7008 8 TCC 0x00000001b767ab28 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 23336 ... ================================================================= Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setCameraDevice:] PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0 Backtrace: 4 ... 0x0000000104d90b48 +[CDVCameraPicker createFromPictureOptions:] + 456 5 .... 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108 6 .. 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336 ... 2020-01-22 17:59:59.350378+0300 [7288:2296174] [reports] Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setCameraDevice:] PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0 Backtrace: 4 ... 0x0000000104d90b48 +[CDVCameraPicker createFromPictureOptions:] + 456 5 ... 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108 6 ... 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336 ... ================================================================= Main Thread Checker: UI API called on a background thread: -[UINavigationController setDelegate:] PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0 Backtrace: 4 ... 0x0000000104d8ad0c -[CDVCamera showCameraPicker:withOptions:] + 192 5 ... 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336 6 TCC 0x00000001b7676b60 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 7008 7 TCC 0x00000001b767ab28 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + ... 2020-01-22 17:59:59.390398+0300[7288:2296174] [reports] Main Thread Checker: UI API called on a background thread: -[UINavigationController setDelegate:] PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0 Backtrace: 4 ... 0x0000000104d8ad0c -[CDVCamera showCameraPicker:withOptions:] + 192 5 ... 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336 ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
