Github user jasongin commented on a diff in the pull request: https://github.com/apache/cordova-plugin-camera/pull/196#discussion_r57255111 --- Diff: src/windows/CameraProxy.js --- @@ -758,16 +759,31 @@ function takePictureFromCameraWindows(successCallback, errorCallback, args) { }, successCallback, errorCallback); }; - // add and delete focus eventHandler to capture the focus back from cameraUI to app - window.addEventListener("focus", savePhotoOnFocus); - cameraCaptureUI.captureFileAsync(WMCapture.CameraCaptureUIMode.photo).done(function(picture) { + // if windows phone 10, add and delete focus eventHandler to capture the focus back from cameraUI to app + if (navigator.appVersion.indexOf('Windows Phone 10.0') >= 0) { --- End diff -- OK. LGTM
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org