Just collecting some code from Internet and making a QR Code scanner for Fuse. It’s very basic, but it should be enough for most of QR code scanner. The iOS version is based on AVFoundation framework (require iOS 7+) and the Android version is based on Google Vision API (part of Google Play Service library) and it should work on Android 4.0+
Currently, it was built with Fuse 0.12.3 and tested on iphone5 iOS 8.4 and Lenovo Android 4.4. However, the android version has an issue, it will tell error while building with Fuse, but the generated project could be build and run with android studio without error message.
[aapt] /Users/sahalzain/Workspace/Fuse/fuse-qreader/build/Android/Preview/QreaderLibrary/app/src/main/bin/AndroidManifest.xml:61: error: Error: No resource found that matches the given name (at 'theme' with value '@style/Theme.AppCompat'). BUILD FAILED /usr/local/Cellar/android-sdk/24.4.1_1/tools/ant/build.xml:649: The following error occurred while executing this line: /usr/local/Cellar/android-sdk/24.4.1_1/tools/ant/build.xml:694: null returned: 1
I’m not sure why, since I’m very new to Android development and Fuse, any suggestion are welcome.