getbouncer / cardscan-ios

A library for scanning credit and debit cards
MIT License
203 stars 67 forks source link

Card Type in iOS #152

Closed mramesh528 closed 4 years ago

mramesh528 commented 4 years ago

Hi Team,

Please can you let me know how to get card type in iOS, in android we have network as a field to get the card type.

kingst commented 4 years ago

for iOS you can call this utility function to get the card network:

https://github.com/getbouncer/cardscan-ios/blob/8e99e843dc5e8309eb27fe2226754cb07bd19aa2/CardScan/Classes/CreditCardUtils.swift#L227

kingst commented 4 years ago

Marking as closed, @mramesh528 let us know if you need any further clarification or if I missed something.