3.0.30 • Published 2 days ago

@cardscan.ai/insurance-cardscan-react v3.0.30

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
2 days ago

CardScan.ai: React Widget

CardScan.ai is the fastest way to add health insurance card scanning to your mobile or web application.

CardScan.ai has UI widgets to support scanning on web, mobile web, Flutter, React Native, native iOS and Android. Or use the API to build your own implementation.

Widget Features:

  • Smart Card Detection
  • Auto & Manual Capture
  • Customizable User Prompts
  • Browser/Device Permission Helper
  • Retrying Failed & Low-Quality Scans
  • Responsive UI
  • Web to Mobile Handoff

Basic Example:

import React from "react";
import { render } from "react-dom";
import {CardScanView} from "@cardscan.ai/insurance-cardscan-react";

function onSuccess(card: any) {
  console.log("new card: ", card);
}

// See Authentication on where to get this token.
const token = 'JWT_TOKEN'

// Render CardScanView
render(
  <CardScanView
    live={false}
    sessionToken={token}
    onSuccess={onSuccess}
    />
  ,document.getElementById("root")
);

Compatibility

  • Node Versions: 12, 14, 16, 18
  • React Versions: >=17.0.2, 18.2.0+
  • Webpack Versions: 4.x, 5.x
  • Babel Versions: 6.x, 7.x

Peer Dependencies

  • React: >=17.0.2
  • React-DOM: >=17.0.2

Documentation

Checkout the full docs and React Widget docs.

3.0.28

3 days ago

3.0.30

2 days ago

3.0.29

2 days ago

3.0.27

17 days ago

3.0.26

1 month ago

3.0.24

1 month ago

3.0.23

1 month ago

3.0.22

1 month ago

3.0.21

2 months ago

3.0.20

2 months ago

3.0.19

2 months ago

3.0.18

3 months ago

3.0.17

3 months ago

3.0.16

3 months ago

3.0.15

3 months ago

3.0.14

4 months ago

3.0.9

7 months ago

3.0.12

6 months ago

3.0.13

6 months ago

3.0.10

6 months ago

3.0.11

6 months ago

3.0.7

9 months ago

3.0.6

9 months ago

3.0.3

11 months ago

3.0.5

11 months ago

3.0.1

12 months ago

3.0.0-beta.5

1 year ago

3.0.0-beta.1

2 years ago

3.0.0-beta.3

2 years ago

3.0.0-beta.2

2 years ago

3.0.0-beta.4

2 years ago

2.0.3

2 years ago

2.0.1

2 years ago

1.18.1

2 years ago

1.18.0

2 years ago

1.18.2

2 years ago

2.0.0

2 years ago

1.17.2

3 years ago

1.17.3

3 years ago

1.15.0

3 years ago

1.14.0

3 years ago

1.13.0

3 years ago

1.17.0

3 years ago

1.16.0

3 years ago

1.12.0

3 years ago

1.11.0

3 years ago

1.10.0

3 years ago

1.9.0

3 years ago

1.8.0

3 years ago

1.7.0

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.2.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.1.0

3 years ago