This is an automated email from the ASF dual-hosted git repository.
breautek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-camera.git
The following commit(s) were added to refs/heads/master by this push:
new a23b3a4 docs: use callback argument in FILE_URI example (#977)
a23b3a4 is described below
commit a23b3a4f18236d28b0bd4e8a9e5cf6573e86ddae
Author: Wu Shuwen <[email protected]>
AuthorDate: Wed Oct 28 07:57:51 2026 +0800
docs: use callback argument in FILE_URI example (#977)
* docs: use callback argument in FILE_URI example
Generated-by: OpenAI Codex CLI 0.163.0
* docs: clarify FILE_URI callback parameter
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 51db739..594330d 100644
--- a/README.md
+++ b/README.md
@@ -349,7 +349,7 @@ Callback function that provides the image data.
**Example**
```js
// Show image captured with FILE_URI
-function cameraCallback(imageData) {
+function cameraCallback(uri) {
window.resolveLocalFileSystemURL(uri, (entry) => {
let image = document.getElementById('myImage');
image.src = entry.toURL();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]