Barcode Scanner for Hybrid Mobile

Content Type: Widget
Categories: Mobile

Overview

This widget enables your Hybrid mobile app to scan barcodes and QR codes. Note that Hybrid mobile is deprecated as of Mendix 9, see https://www.mendix.com/blog/hybrid-mobile-apps-deprecation-with-mendix-9/ Note: this widget does not work in the Mendix Mobile app.

Documentation

#BarcodeScannerForPhoneGap

The BarcodeScanner widget enables PhoneGap native barcode scanning functionality within your Mendix mobile application. This is a widget that will be functional from Mendix 7.13.1.

Add plugin

When Publishing this App for Mobile App Stores, add in the the Custom Phonegap/Cordova configuration the barcode plugin

<plugin name="phonegap-plugin-barcodescanner" />
<edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
    <string>To scan barcodesstring>
edit-config>

Configuration

Place the widget in a dataview where you want the button to be placed. Make sure this form is reachable from a mobile application.

Button

Label

The label text that is shown on the button.

Class

An optional class to be placed directly on the button dom node.

Data source

Attribute

The attribute on the dataview object where the resulting string should be set to.

Events

On change microflow

An optional microflow that will be triggered once the location has been retrieved.

On change nanoflow

An optional nanoflow that will be triggered once the location has been retrieved.

Contributing

For more information on contributing to this repository visit Contributing to a GitHub repository!

Releases

Version: 3.2.3
Framework Version: 7.13.1
Release Notes: Fix documentation URL
Version: 3.2.2
Framework Version: 7.13.1
Release Notes: Show improved error message on iOS when `Camera Usage Description` is missing (Fixes GitHub #16) Improve documentation, explaining, how to set NSCameraUsageDescription
Version: 3.2.1
Framework Version: 7.13.1
Release Notes: After scan microflow is working again (broken in 3.2.0). Fixes github issue #12
Version: 3.2.0
Framework Version: 7.13.1
Release Notes: Now the widget can be run offline as well, a powerful combination with nanoflows
Version: 3.1.0
Framework Version: 7.13.1
Release Notes: - You can now call a nanoflow after scanning - Rename widget to `Barcode Scanner`