https://github.com/nericode/nativescript-cardio
https://github.com/nericode/nativescript-cardio
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nericode/nativescript-cardio
- Owner: nericode
- License: apache-2.0
- Created: 2018-09-22T14:44:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-22T15:40:24.000Z (over 7 years ago)
- Last Synced: 2025-04-09T09:40:26.404Z (about 1 year ago)
- Language: TypeScript
- Size: 1.94 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nativescript card.io
See [nativescript-cardio](https://github.com/NeriCodec/nativescript-cardio.git) for example.
card.io provides fast, easy credit card scanning in mobile apps.
## Installation
Steps:
```javascript
tns plugin add nativescript-cardio
```
## Usage
```javascript
requestPermissions()
.then(() => {
this.cardio.onScan()
.then((data) => {
console.dir(data);
}, (error) => {
console.log(error);
});
}, (error) => {
console.log("Permissions denied: " + error);
});
```
## License
Apache License Version 2.0, January 2004