Stripe-ios: Can't import new Scanner UI for customization in 20.0.0

Created on 8 Oct 2020  路  2Comments  路  Source: stripe/stripe-ios

Summary

Can't import STPCardScanner, STPCameraView, and STPCardScannerDelegate into project. I've integrated stripe with custom UI and I will like to be able to use the new scanner in version 20.0.0 and get rid of Card.io interfaces. Will it be possible to access this classes like STPPaymentCardTextField and many others that are available for customization? Thanks.

Code to reproduce

I would like to implement something like in STPAddCardViewController.m

` STPCardScannerTableViewCell *scannerCell = [[STPCardScannerTableViewCell alloc] init];
_scannerCell = scannerCell;

    STPCardScanner *cardScanner = [[STPCardScanner alloc] initWithDelegate:self];
    cardScanner.cameraView = scannerCell.cameraView;
    _cardScanner = cardScanner;

`

iOS version

14.0

Installation method

Cocoapods

SDK version

20.0.0

Other information

triaged

Most helpful comment

Hello! We don't currently support using the card scanner outside of STPAddCardViewController at the moment, but we plan to add an API once it's out of beta.

All 2 comments

Hello! We don't currently support using the card scanner outside of STPAddCardViewController at the moment, but we plan to add an API once it's out of beta.

@davidme-stripe Hey David, do you have any eta when the vision card scanning will be out of beta, keen to add this to the stripe card text field 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

olegdanu-newstore picture olegdanu-newstore  路  7Comments

sumitmundra picture sumitmundra  路  5Comments

marcglasberg picture marcglasberg  路  7Comments

aurelhubert picture aurelhubert  路  6Comments

coolcool1994 picture coolcool1994  路  4Comments