GitToTheHub commented on PR #873:
URL: 
https://github.com/apache/cordova-plugin-camera/pull/873#issuecomment-5095935754

   Tested it on iOS 26.5 on an iPhone 17 Pro simulator and Android 36.1 
emulator (Pixel 10 Pro) by opening the camara to take a picture and closing it 
after 5 seconds. Used JavaScript for test:
   
   ```js
   window.testCameraStop = function () {
       navigator.camera.getPicture(
           function onSuccess(uri) { console.log("getPicture success:", uri); },
           function onError(err) { console.log("getPicture error:", err); },
           { sourceType: Camera.PictureSourceType.CAMERA, destinationType: 
Camera.DestinationType.FILE_URI }
       );
   
       setTimeout(function () {
           navigator.camera.stop(
               function () { console.log("stop success"); },
               function (err) { console.log("stop error:", err); }
           );
       }, 5000);
   };
   
   window.testCameraStop();
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to