feat(android,ios)!: Provide hint and return barcode format - #44
Merged
Conversation
Parameter model is now on native library (which allows for more flexibility in adding new parameters), but decoding is still in plugin.
References: https://outsystemsrd.atlassian.net/browse/RMET-4433 BREAKING CHANGE: This modifies what is returned by the plugin, requires changes by the client.
OS-pedrogustavobilro
requested review from
ItsChaceD,
OS-ruimoreiramendes,
alexgerardojacinto,
andredestro and
eric-horodyski
and removed request for
a team
September 1, 2025 16:31
🎉 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) |
Only available since Swift 6, which not all projects will necessarily use.
OS-ruimoreiramendes
approved these changes
Sep 5, 2025
Contributor
|
Very minor: the PR title could be:
|
alexgerardojacinto
approved these changes
Sep 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR updates the barcode native libraries (android + iOS) and reads the
hintparameter from inputs (to scan only QR Codes, only EAN-13, etc.), as well as returning theformatof scanned barcode.BREAKING CHANGES: The
scanBarcodenow returns an object instead of a string. The object contains the scanned text (ScanResult) and theformatinteger.Context
https://outsystemsrd.atlassian.net/browse/RMET-4433
Type of changes
Platforms affected
Tests
You may use the "Barcode Demo App" in O11 to test on both Android and iOS. PWA implementation coming soon.