Xamarin.Forms project implementing barcode scanner natively on Android and iOS.
QR scanning to function properly requires the Google Play Services app to be installed. For the Huawei devices without the services of Google the best solution is probably to import Huawei Scan Kit. Documentation seems good also for Xamarinians.
Format | Android | iOS |
---|---|---|
Code128 | ✓ | ✓ |
Code39 | ✓ | ✓ |
Code93 | ✓ | ✓ |
Codabar | ✓ | ✗ |
DataMatrix | ✓ | ✓ |
Ean13 | ✓ | ✓ |
Ean8 | ✓ | ✓ |
Itf | ✓ | ✓ |
QrCode | ✓ | ✓ |
UpcA | ✓ | ✗ |
UpcE | ✓ | ✓ |
Pdf417 | ✓ | ✓ |
Aztec | ✓ | ✓ |
The only permission required is for the Camera usage.
Android solution is base on Google Mobile vision API
iOS solution is based on AVFoundation framework
Installation | Version |
---|---|
Xamarin.Forms | 5.0 |
Android | 21+ |
iOS | 12+ |