@titanium/barcode
v1.0.50
Published
⭐ Axway Amplify module for scanning barcodes with Appcelerator Titanium SDK
Downloads
62
Readme
👉 A group of Axway employees, ex-Axway employees, and some developers from Titanium community have created a legal org and now officially decide all matters related to future of these products.
API FAQ:
- API Best Practices
- What is API Security?
- OWASP Top 10 List for API Security
- What is API Security?
- Top API Trends for 2022
- What is a Frankenstein API?
- What is a Zombie API?
- API Developer Experience
- API Cybersecurity 101
- YouTube API Videos
- YouTube API Shorts Videos
@titanium/barcode
Titanium native mobile barcode module built on top of the ZXing library (Android) and AVFoundation (iOS)
📝 Description
This is a repackaging of the compiled iOS and Android modules for ti.barcode to allow for installation via npm.
🚀 Getting Started
- Install
@titanium/barcode
in root of project
npm install @titanium/barcode
Using barcode scanner
const barcode = require('@titanium/barcode');
barcode.allowRotation = true;
barcode.displayedMessage = ' ';
barcode.allowMenu = false;
barcode.allowInstructions = false;
barcode.useLED = true;
barcode.addEventListener('success', function(e) {
console.info('Success called with barcode: ' + e.result);
});
barcode.capture({
animate: true,
overlay: overlay,
showCancel: false,
showRectangle: false,
keepOpen: true,
});
✨Features
iOS: ti.barcode 2.0.4
Android: ti.barcode 4.0.2
📚Learn More
📣 Feedback
Have an idea or a comment? Join in the conversation here!
©️ Legal
Modules are licensed under Apache 2.0 from https://github.com/appcelerator-modules/ti.barcode
Alloy is developed by Appcelerator and the community and is Copyright © 2012-Present by Appcelerator, Inc. All Rights Reserved.
Alloy is made available under the Apache Public License, version 2. See their license file for more information.
Appcelerator is a registered trademark of Appcelerator, Inc. Titanium is a registered trademark of Appcelerator, Inc. Please see the LEGAL information about using trademarks, privacy policy, terms of usage and other legal information at http://www.appcelerator.com/legal.