Skip to content

feat(android,ios)!: Provide hint and return barcode format - #44

Merged
OS-pedrogustavobilro merged 17 commits into
mainfrom
feat/RMET-4433/hint-native
Sep 8, 2025
Merged

feat(android,ios)!: Provide hint and return barcode format#44
OS-pedrogustavobilro merged 17 commits into
mainfrom
feat/RMET-4433/hint-native

Conversation

@OS-pedrogustavobilro

@OS-pedrogustavobilro OS-pedrogustavobilro commented Sep 1, 2025

Copy link
Copy Markdown
Collaborator

Description

This PR updates the barcode native libraries (android + iOS) and reads the hint parameter from inputs (to scan only QR Codes, only EAN-13, etc.), as well as returning the format of scanned barcode.

BREAKING CHANGES: The scanBarcode now returns an object instead of a string. The object contains the scanned text (ScanResult) and the format integer.

Context

https://outsystemsrd.atlassian.net/browse/RMET-4433

Type of changes

  • Fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Refactor (cosmetic changes)
  • Breaking change (change that would cause existing functionality to not work as expected)

Platforms affected

  • Android
  • iOS
  • JavaScript

Tests

You may use the "Barcode Demo App" in O11 to test on both Android and iOS. PWA implementation coming soon.


@cssecautomation

cssecautomation commented Sep 1, 2025

Copy link
Copy Markdown

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

code/snyk check is complete. No issues have been found. (View Details)

@alexgerardojacinto

Copy link
Copy Markdown
Contributor

Very minor: the PR title could be:

feat(android,ios)!: Provide hint and return barcode format

@OS-pedrogustavobilro OS-pedrogustavobilro changed the title feat!: Provide hint and return barcode format feat(android,ios)!: Provide hint and return barcode format Sep 8, 2025
@OS-pedrogustavobilro
OS-pedrogustavobilro merged commit 9d5bde3 into main Sep 8, 2025
4 checks passed
@OS-pedrogustavobilro
OS-pedrogustavobilro deleted the feat/RMET-4433/hint-native branch September 8, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants