BACKGROUND:
We are building a Xamarin Forms product that uses barcode scanning as a central function. In the early stages we decided not to buy a barcode scanning component, but use the free ZXing component until later in the development phase. We are now at the stage where we would want to buy and use a commercial barcode scanning component as the sample apps they provide indicate a clear performance advantage.
PROBLEM:
Of the three commercial components in the Xamarin Components Library there are exactly 0 that can be used in a Xamarin Forms solution:
- RedLaser does not exist any more (sign-up page closed, emails sent to them bounce back)
- Scandit does not support XF ( as per an email response from them)
- Manatee does not support XF either (also stated in an email response)
SOLUTION:
Write a wrapper for Scandit or Manatee. I found a wrapper for Scandit, but actually prefer Manatee's pricing model.
I have tried to write a wrapper my self, but it seems I am doing it wrong since calling the Scan() method just crashes my app without ANY debugging information at all. If this fails, the project will be in jeopardy.
If you want to build an app that scans barcodes, makes sure you investigate the lack of Xamarin Forms support before starting!