nativescript-cardio
by triniwiz | v0.0.1
[![B
npm i --save nativescript-cardio

npm npm Build Status

Installation

  • tns plugin add nativescript-cardio

Usage

import { CardIO } from 'nativescript-cardio';

const cardIO = new CardIO();
cardIO.show((card: Card) => {
/*
Card {
number: string;
expMonth: number;
expYear: number;
cvv: string;
image: ImageSource;
type: CardType;
name: string;
postalCode?: string;
android: any;
ios: any;
}
*/
});