AmolGangadhare / flutter_barcode_scanner

Barcode scanner plugin for flutter. Supports barcode scanning for Android and iOS
https://pub.dev/packages/flutter_barcode_scanner
MIT License
380 stars 483 forks source link

QR-code content is parsed/modified on Android #62

Closed magnuswikhog closed 4 years ago

magnuswikhog commented 4 years ago

Describe the bug When scanning QR-codes that contain "structured data", for example

mailto:email@example.com tel:555-1234 MECARD:N;Joe;EMAIL:joe@example.com

some information is lost due to some kind of parsing it seems. The above result in

email@example.com 555-1234 Joe

on Android (7.0) but in the original content on iOS.

To Reproduce Steps to reproduce the behavior:

  1. Go to http://qrcode.meetheed.com/qrcode_examples.php
  2. Scan some of the QR-codes with an Android phone
  3. Observer the output from FlutterBarcodeScanner.scanBarcode()

Expected behavior The actual content of the QR-code should be returned.

Smartphone (please complete the following information):

AmolGangadhare commented 4 years ago

V1.0.0 has been released, can you try it on the latest and confirm the same?

AmolGangadhare commented 4 years ago

This issue has been resolved in the latest update.

Closing this as there is no response, feel free to report a new issue if the issue persists.