[
https://issues.apache.org/jira/browse/CB-10873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15196379#comment-15196379
]
Tim Sherburne commented on CB-10873:
------------------------------------
[~nikhilkh] I ran into this issue as well, just after updating to 2.1.1 this
morning. Here's the error stack from the log:
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 ImageIO 0x243c1f6e CGImageDestinationFinalize +
818
1 ImageIO 0x243c1ddd CGImageDestinationFinalize +
417
2 DWMobile 0x000c4bf1 -[CDVCamera
imagePickerControllerReturnImageResult] (CDVCamera.m:671)
3 DWMobile 0x000c492b -[CDVCamera
locationManager:didUpdateToLocation:fromLocation:] (CDVCamera.m:643)
4 CoreLocation 0x28af05ed 0x28ae1000 + 62957
5 CoreLocation 0x28aeb6a3 0x28ae1000 + 42659
6 CoreLocation 0x28ae4775 0x28ae1000 + 14197
7 CoreFoundation 0x22f9d179
__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 13
8 CoreFoundation 0x22f9cc35 __CFRunLoopDoBlocks + 217
9 CoreFoundation 0x22f9b5a9 __CFRunLoopRun + 1825
10 CoreFoundation 0x22eedbb9 CFRunLoopRunSpecific + 517
11 CoreFoundation 0x22eed9ad CFRunLoopRunInMode + 109
12 GraphicsServices 0x24167af9 GSEventRunModal + 161
13 UIKit 0x271d9fb5 UIApplicationMain + 145
14 DWMobile 0x000ba48b main (main.m:32)
15 libdyld.dylib 0x22ba0873 start + 3
> "cordova-plugin-camera" 2.1.1 seem cause the app shut down after use the
> capture photo
> --------------------------------------------------------------------------------------
>
> Key: CB-10873
> URL: https://issues.apache.org/jira/browse/CB-10873
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Camera
> Affects Versions: 2.1.1
> Environment: Cordova Cli-6.0
> Cordova-iOS 4.1.0
> cordova-plugin-camera 2.1.1
> cordova-plugin-wkwebview-engine 1.0.2
> ipad mini iOS 9.2.1
> my config.xml have these lines
> <preference name="AndroidPersistentFileLocation" value="Compatibility" />
> <preference name="iosPersistentFileLocation" value="Compatibility" />
> <preference name="AndroidExtraFilesystems"
> value="files,files-external,documents,sdcard,cache,cache-external,root" />
> <preference name="iosExtraFilesystems"
> value="library,library-nosync,documents,documents-nosync,cache,bundle,root" />
> Reporter: Colin Bau
> Labels: iOS, triaged, wfc
>
> this is my full test code
> =====
> navigator.camera.getPicture(cameraSuccess, cameraError, null);
> function cameraSuccess() { alert("Camera success.") }
> function cameraError(message) { alert('Failed because: ' + message); }
> =====
> step1,I use "navigator.camera.getPicture"
> step2,it will appear a camera interface and I press the take photo button
> step3,click the "use the photo" button
> step4,it will back to my original app,but after 1-2 seconds,shut down
> immediately
> Android have no this problem,and it will trigger the "cameraSuccess" callback
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]