Skip to content

Commit

Permalink
onSuccess on exec
Browse files Browse the repository at this point in the history
  • Loading branch information
YushraJewon committed Aug 6, 2024
1 parent 4105ce3 commit 3dddf5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/SimpleCameraPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ SimpleCameraPreview.startVideoCapture = function (onSuccess, onError) {
[]
);
}
exec(() => {}, onError, PLUGIN_NAME, "startVideoCapture");
exec(onSuccess, onError, PLUGIN_NAME, "startVideoCapture");
};

SimpleCameraPreview.stopVideoCapture = function (onSuccess, onError) {
Expand Down

0 comments on commit 3dddf5d

Please sign in to comment.