@titanium/barcode
Version:
⭐ Axway Amplify module for scanning barcodes with Appcelerator Titanium SDK
158 lines (110 loc) • 5.51 kB
Markdown
[//]: # (header-start)
<h1 align="center">
<a href="https://blog.axway.com/mobile-apps/changes-to-application-development-services">
Preparing for end of Axway
</a>
</h1>
<h2 align="center">
👇 support for Amplify Cloud and Mobile 👇
</h2>
<a href="https://brenton.house/saying-goodbye-to-axway-amplify-titanium-31a44f3671de">
<p align="center">
<img src="https://cdn.secure-api.org/images/RIP-Axway-Amplify-Titanium.png" alt="RIP Axway Amplify Titanium (2010 - 2022)" width="80%" />
</p>
</a>
<p align="center">
<a href="https://blog.axway.com/mobile-apps/changes-to-application-development-services">
🪦 RIP Axway Amplify Titanium (2010 - 2022)
</a>
</p>
<p align="center">
<a href="https://blog.axway.com/mobile-apps/prepare-your-apps-for-appcelerator-end-of-support">
🪦 RIP Axway Amplify Cloud Services (2012 - 2022)
</a>
</p>
<p align="center">
<a href="https://blog.axway.com/mobile-apps/prepare-your-apps-for-appcelerator-end-of-support">
🪦 RIP Axway Amplify Crash Analytics (2015 - 2022)
</a>
</p>
<hr>
<h4 align="center">
🛑 <a href="https://blog.axway.com/mobile-apps/prepare-your-apps-for-appcelerator-end-of-support">Axway support for Amplify products has ended</a> for most products related to mobile and cloud.
</h4>
<h4 align="center">
A few of the open-source versions of Axway Amplify products will live on after <a href="">Axway Amplify End-of-Life</a> (EOL) announcements. However, all closed-source projects and most open-source projects are now dead.
</h4>
<p> </p>
> 👉 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.
<p> </p>
<hr>
## API FAQ:
* [API Best Practices](https://brenton.house)
* [What is API Security?](https://brenton.house/what-is-api-security-5ca8117d4911)
* [OWASP Top 10 List for API Security](https://www.youtube.com/watch?v=GLVHDj0Cpg4)
* [What is API Security?](https://brenton.house/what-is-api-security-5ca8117d4911)
* [Top API Trends for 2022](https://brenton.house/top-10-api-integration-trends-for-2022-49b05f2ef299)
* [What is a Frankenstein API?](https://brenton.house/what-is-a-frankenstein-api-4d6e59fca6)
* [What is a Zombie API?](https://brenton.house/what-is-a-zombie-api-6e5427c39b6a)
* [API Developer Experience](https://brenton.house/keys-to-winning-with-an-awesome-api-developer-experience-62dd2fa668f4)
* [API Cybersecurity 101](https://brenton.house/what-is-api-security-5ca8117d4911)
* [YouTube API Videos](https://youtube.com/brentonhouse)
* [YouTube API Shorts Videos](https://youtube.com/apishorts)
[](https://www.youtube.com/watch?v=GLVHDj0Cpg4&list=PLsy9MwYlG1pew6sktCAIFD5tbrXy9HUQ7 "Click to watch on YouTube")
> [↑ Watch video on YouTube ↑](https://www.youtube.com/watch?v=GLVHDj0Cpg4&list=PLsy9MwYlG1pew6sktCAIFD5tbrXy9HUQ7)
<p> </p>
<hr>
<p> </p>
<p> </p>
[//]: # (header-end)
# @titanium/barcode
[](https://www.npmjs.com/package/@titanium/barcode)
[](https://dependabot.com)
> Titanium native mobile barcode module built on top of the ZXing library (Android) and AVFoundation (iOS)
* [📝 Description](#-description)
* [🚀 Getting Started](#-getting-started)
* [Using barcode scanner](#using-barcode-scanner)
* [✨Features](#features)
* [📚Learn More](#learn-more)
* [📣 Feedback](#-feedback)
* [©️ Legal](#️-legal)
## 📝 Description
This is a repackaging of the compiled iOS and Android modules for [ti.barcode](https://github.com/appcelerator-modules/ti.barcode) to allow for installation via npm.
## 🚀 Getting Started
1. Install `@titanium/barcode` in root of project
```
npm install @titanium/barcode
```
### Using barcode scanner
```javascript
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
- [Ti.Barcode GitHub Repo](https://github.com/appcelerator-modules/ti.barcode)
## 📣 Feedback
Have an idea or a comment? [Join in the conversation here](https://github.com/brentonhouse/titanium-barcode/issues)!
## ©️ 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.