Skip to content

Commit

Permalink
[Feature Request] Support for getDisplayValue()
Browse files Browse the repository at this point in the history
Issue
rmtmckenzie#172

PR
rmtmckenzie/flutter_qr_mobile_vision@master...vgtle:master

Commits
@vgtle
Use displayValue instead of rawValue
@vgtle
Correct Spelling
  • Loading branch information
jFelipeSantana-ma9 committed Apr 22, 2021
1 parent 08b3ba4 commit 6eaafc7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Mar 28 09:56:16 PDT 2018
#Fri Mar 26 14:22:13 CET 2021
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin-all.zip
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private void processFrame(Frame frame) {
@Override
public void onSuccess(List<Barcode> firebaseVisionBarcodes) {
for (Barcode barcode : firebaseVisionBarcodes) {
communicator.qrRead(barcode.getRawValue());
communicator.qrRead(barcode.getDisplayValue());
}
processLatest();
}
Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/QrReader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ extension QrReader: AVCaptureVideoDataOutputSampleBufferDelegate {
}

for feature in features {
self.qrCallback(feature.rawValue!)
self.qrCallback(feature.displayValue!)
}
}
}
Expand Down

0 comments on commit 6eaafc7

Please sign in to comment.