Skip to content

Commit c7f8a76

Browse files
authored
Merge pull request #1 from klippa-app/bugfix/typo-in-filepath
Fixed typo in `filePath`.
2 parents fb324b1 + b30ef3c commit c7f8a76

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.2
2+
3+
- Fixed typo`Filepath` becomes `filePath` in Android SDK.
4+
15
## 0.0.1
26

37
- Initial release of SDK support for Capacitor / IONIC.

android/src/main/java/com/klippa/capacitorscanner/KlippaScannerSDKPlugin.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ class KlippaScannerSDKPlugin : Plugin() {
250250
val images: MutableList<Map<String, String>> = mutableListOf()
251251

252252
for (image in receivedImages) {
253-
val imageDict = mapOf("Filepath" to image.filePath)
253+
val imageDict = mapOf("filePath" to image.filePath)
254254
images.add(imageDict)
255255
}
256256

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@klippa/capacitor-klippa-scanner-sdk",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "A Capacitor plugin for Ionic to use the Klippa Scanner SDK",
55
"main": "dist/plugin.cjs.js",
66
"module": "dist/esm/index.js",

0 commit comments

Comments
 (0)