jeremypele / nativescript-cardio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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;
    }
    */
});

About

License:Apache License 2.0


Languages

Language:Objective-C 76.4%Language:TypeScript 18.0%Language:Shell 3.5%Language:JavaScript 2.2%