Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

com.getbouncer:scan-camera2

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.getbouncer:scan-camera2

This library provides the framework for cameras

  • 2.2.0003
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

Deprecation Notice

Hello from the Stripe (formerly Bouncer) team!

We're excited to provide an update on the state and future of the Card Scan OCR product! As we continue to build into Stripe's ecosystem, we'll be supporting the mission to continuously improve the end customer experience in many of Stripe's core checkout products.

This SDK has been migrated to Stripe and is now free for use under the MIT license!

If you are not currently a Stripe user, and interested in learning more about improving checkout experience through Stripe, please let us know and we can connect you with the team.

If you are not currently a Stripe user, and want to continue using the existing SDK, you can do so free of charge. Starting January 1, 2022, we will no longer be charging for use of the existing Bouncer Card Scan OCR SDK. For product support on Android and iOS. For billing support, please email bouncer-support@stripe.com.

For the new product, please visit the stripe github repository.

Overview

This repository contains the legacy, deprecated open source code for Bouncer products (e.g. CardScan). See the individual sub modules for more information on each.

CardScan is a relatively small library that provides fast and accurate payment card scanning.

CardScan is the foundation for CardVerify enterprise libraries, which validate the authenticity of payment cards as they are scanned.

Lint Instrumentation Tests Unit Tests Release GitHub release

demo

Contents

Requirements

  • Android API level 21 or higher
  • AndroidX compatibility
  • Kotlin coroutine compatibility

Note: Your app does not have to be written in kotlin to integrate this library, but must be able to depend on kotlin functionality.

Demo

This repository contains a demonstration app for the CardScan product. To build and run the demo app, follow the instructions in the demo documentation.

Integration

See the integration documentation in the Bouncer Docs.

Provisioning an API key

CardScan requires a valid API key to run. To provision an API key, visit the Bouncer API console.

Name and expiration extraction support (BETA)

To test name and/or expiration extraction, please first provision an API key, then reach out to bouncer-support@stripe.com with details about your use case and estimated volumes.

Before launching the CardScan flow, make sure to call the CardScanActivity.warmup() function with your API key and set initializeNameAndExpiryExtraction to true

CardScanActivity.warmup(this, API_KEY, true)

Customizing

CardScan is built to be customized to fit your UI.

Basic modifications

To modify text, colors, or padding of the default UI, see the customization documentation.

Extensive modifications

To modify arrangement or UI functionality, CardScan can be used as a library for your custom implementation. See the example single-activity demo app.

Developing

See the development docs for details on developing for CardScan.

Authors

Adam Wushensky, Sam King, and Zain ul Abi Din

License

This library is available under the MIT license. See the LICENSE file for the full license text.

FAQs

Package last updated on 15 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc