@capgo/capacitor-document-scanner 8.3.33 → 8.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -331,13 +331,13 @@ public class DocumentScannerPlugin extends Plugin {
331
331
  boolean canContinue = scan.acceptedPageFiles.size() < scan.requestedPageLimit;
332
332
 
333
333
  if (canContinue) {
334
- builder.setPositiveButton("Continue", (dialog, which) -> relaunchScanner(call));
335
- builder.setNeutralButton("Done", (dialog, which) -> resolveAcceptedPages(call));
334
+ builder.setPositiveButton("Add another", (dialog, which) -> relaunchScanner(call));
335
+ builder.setNeutralButton("Finish", (dialog, which) -> resolveAcceptedPages(call));
336
336
  } else {
337
- builder.setPositiveButton("Done", (dialog, which) -> resolveAcceptedPages(call));
337
+ builder.setPositiveButton("Finish", (dialog, which) -> resolveAcceptedPages(call));
338
338
  }
339
339
 
340
- builder.setNegativeButton("Retake", (dialog, which) -> {
340
+ builder.setNegativeButton("Try again", (dialog, which) -> {
341
341
  removeLastAcceptedPage(scan);
342
342
  relaunchScanner(call);
343
343
  });
@@ -387,8 +387,8 @@ public class DocumentScannerPlugin extends Plugin {
387
387
  subtitle.setPadding(0, padding, 0, 0);
388
388
  subtitle.setText(
389
389
  scan.acceptedPageFiles.size() >= scan.requestedPageLimit
390
- ? "Use Done to keep this page, or Retake to scan it again."
391
- : "Use Continue to scan another page, Done to finish, or Retake to replace this page."
390
+ ? "Use Finish to keep this page, or Try again to scan it again."
391
+ : "Use Add another to scan the next page, Finish to save, or Try again to replace this page."
392
392
  );
393
393
  container.addView(
394
394
  subtitle,
@@ -3,7 +3,7 @@ import Foundation
3
3
 
4
4
  @objc(DocumentScannerPlugin)
5
5
  public class DocumentScannerPlugin: CAPPlugin, CAPBridgedPlugin {
6
- private let pluginVersion: String = "8.3.33"
6
+ private let pluginVersion: String = "8.4.1"
7
7
  public let identifier = "DocumentScannerPlugin"
8
8
  public let jsName = "DocumentScanner"
9
9
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-document-scanner",
3
- "version": "8.3.33",
3
+ "version": "8.4.1",
4
4
  "description": "Capacitor plugin to scan document iOS and Android",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -49,7 +49,8 @@
49
49
  "prepublishOnly": "bun run build",
50
50
  "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs",
51
51
  "example:install": "cd example-app && bun install --frozen-lockfile",
52
- "example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build"
52
+ "example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build",
53
+ "changelog:ai": "node scripts/generate-ai-changelog.mjs"
53
54
  },
54
55
  "devDependencies": {
55
56
  "@capacitor/android": "^8.0.0",