You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the raw value is returned from the scanner. While this is suitable for some cases, when using different formats, it get difficult to extract the actual value from the code returned from this library as this is different for each format. Beside the getRawValue() (See Documentation), it also possible to use getDisplayValue(). As this package tries to be simple and hide any complex configuration, switching to getDisplayValue() or adding an option to also return the getDisplayValue(): qrCodeCallback: (rawCode, displayCode) { ... },
could be a good option to not worry about the underlaying scanner format.
I already implement this feature for myself (See Fork) and i hope that a good option can be found to support this.
The text was updated successfully, but these errors were encountered:
Currently the raw value is returned from the scanner. While this is suitable for some cases, when using different formats, it get difficult to extract the actual value from the code returned from this library as this is different for each format. Beside the
getRawValue()
(See Documentation), it also possible to usegetDisplayValue()
. As this package tries to be simple and hide any complex configuration, switching togetDisplayValue()
or adding an option to also return thegetDisplayValue()
:qrCodeCallback: (rawCode, displayCode) { ... },
could be a good option to not worry about the underlaying scanner format.
I already implement this feature for myself (See Fork) and i hope that a good option can be found to support this.
The text was updated successfully, but these errors were encountered: