Skip to content

Releases: aaronlab/SweetCardScanner

Remove unnecessary init code

26 Feb 16:08
fabdaec
Compare
Choose a tag to compare

Remove unnecessary init code

Remove dynamic type

08 Feb 14:14
Compare
Choose a tag to compare

Remove dynamic type

Add public initializer for CreditCard Model

01 Dec 04:16
cf43a66
Compare
Choose a tag to compare

Release Notes

  • Add public initializer for CreditCard Model

Description

  • Now you can try to use the model as a placeholder or something else
struct CreditCardCell_Previews: PreviewProvider {
    static var previews: some View {
        CreditCardCell(creditCard: CreditCard(number: "1234-1234-1234-1234", name: "Aaron Lee", expireDate: nil))
    }
}

v1.0.0

30 Nov 15:14
Compare
Choose a tag to compare

Release Notes

  • Implemented customizable wordsToSkip and invalidNames
  • Added year: Int, month: Int, vendor: SweetCardScanner.CardVendor, isNotExpired: Bool? into CreditCard Model

Default Values

  • wordsToSkip: Array?
    • ["mastercard", "jcb", "visa", "express", "bank", "card", "platinum", "reward"]
  • invalidNames: Array?
    • ["expiration", "valid", "since", "from", "until", "month", "year"]

Kinds of Card Vendors

Unknown, Amex, Visa, MasterCard, Diners, Discover, JCB, Elo, Hipercard, UnionPay

0.1.3

16 Nov 04:03
Compare
Choose a tag to compare
0.1.3 Pre-release
Pre-release
  • Added skip words for image processing
    • ["mastercard", "jcb", "visa", "express", "bank", "card", "platinum", "reward", "check", "credit", "american", "express", "cashbag", "keb", "nhcard", "global", "hyundai", "zero", "kakaobank", "thru", "authorized", "signature", "authorized signature", "hyundai card", "nonghyup", "payon", "money"]

0.1.2: fix: Fix not re-initializing issue

16 Nov 02:52
Compare
Choose a tag to compare
  • Fixed not re-initializing issue when coming back to the scanner view

    • Changed the methods viewDidLoad to viewWillAppear in CreditCardScannerViewController
    • Added the command line that re-initializes ImageAnalyzer in viewWillAppear
    • Fixed for NavigationView
  • Updated LICENSE

  • Updated README.md

0.1.1

14 Nov 07:38
Compare
Choose a tag to compare
0.1.1 Pre-release
Pre-release
  • Removed the multiple same import command lines in the example project
  • Updated README.md with preview

0.1.0

14 Nov 06:14
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

Test Release