Skip to content

Releases: verygoodsecurity/vgs-collect-ios

Public release 1.7.0

20 Oct 13:49
c0a126c
Compare
Choose a tag to compare

What’s new

  • New card scanning solution - CardScan(Bouncer) SDK
  • Added SwiftPM support for Core Module(beta)
  • Updated CardIO version to be available with Xcode12
  • Extended CardIO public attributes
  • CardIO & CardScan modules now are optional for Carthage Users

Changes & Updates

If you use CardIO and integrate with Carthage, from now it's required to import VGSCardIOCollector.framework build in your application Target Build Phases and Linkend Frameworks settings. Check more details in our Migrating guides.

Public release 1.6.3

30 Sep 14:44
da3f130
Compare
Choose a tag to compare

What's new

• Skip manual card data entry after scanning in CardIO with suppressScanConfirmation attribute.
• Update CardIO version to 5.5.3.
• Internal features analytics.

Public release 1.6.2

02 Sep 15:40
544c9a8
Compare
Choose a tag to compare

What's new

  • Functionality to set default value into VGSTextField
  • Functionality to clear VGSTextField input
  • More use-cases added to Demo App

Public release 1.6.1

27 Jul 14:12
a4abc17
Compare
Choose a tag to compare

What's new

  • New VGSExpDateTextField - textfield with date picker instead as input source.
  • New keyboardAccessoryView - top view in textfield's keyboard.
  • New autocorrectionType - attribute to switch on/off auto correction in textfield.

Public release 1.6.0

13 Jul 11:50
b2a1b58
Compare
Choose a tag to compare

What's new

  • Functionality for adding Custom Payment Card Models and editing default card models in SDK. Now it's possible to customize and validate any Card Brand. Check VGSPaymentCards for more details.
  • CardBrand enum got new type: custom(brandName: String) that should be used when creating Custom Payment Card Models.
  • Dynamic format patterns for Payment Cards. Now you can set card numbers format for each specific Card Brand.
  • Multiple regions support added.

Changes & Updates

  • From now .formatPattern that was defined through VGSConfiguration will be ignored for fields with type .cardNumber. To be more flexible we released dynamic format patterns for each Payment Card Brand. Check our default format patterns in VGSPaymentCards.swift file, and update it if needed for each specific Card Model:
VGSPaymentCards.amex.formatPattern = "#### ###### #####"
  • Changes in namings:
SwiftLuhn -> VGSPaymentCards
CardType  -> CardBrand

Public release 1.5.5

03 Jul 13:52
1621748
Compare
Choose a tag to compare

What's new

  • Validation Rules - we add pre-build validation rules which you can apply to any VGSTextField. Now if you need to collect text data with type that is not yet supported by SDK and want to be sure it's valid, create your own validation rules set. Moreover, now you can customize existing validations.
  • Validate Payment Card Brands that not supported by SDK - in case if you need to collect payment cards which not supported by SDK (CardType.unknown) and want to validate them by length and Luhn algorithm, you can turn on unknown brands validation through VGSValidationRulePaymentCard rule attributes.
  • Validation Errors - now if VGSTextField is not valid, you can check textfield.state.validationErrors array that contains VGSValidationError from each failed validation rule check.

Changes

If you collect card expiration date with long year format mm/yyyy, you should update validation rule for your VGSTextField and specify that long date format should be valid:

expDateConfiguration.validationRules = VGSValidationRuleSet(rules: [
        VGSValidationRuleCardExpirationDate(dateFormat: .longYear, error: VGSValidationErrorType.expDate.rawValue)
 ])

Public release 1.5.4

12 Jun 15:45
f80f25b
Compare
Choose a tag to compare

What's new

  • Add support of new card brand: UnionPay, Elo, Dankort and Forbrugsforeningen. Also card brand detection regexes improved.
  • New State attribute isDirty will show if VGSTextField was edited.
  • Add support for long year format(YYYY) setting from card.io.

Fixes & Updates

  • Fixed issue with card brand conflicting constraints when card image higher than VGSCardTextField.
  • Now card.io logo is hidden by default on card scan screen.

Public release 1.5.3

04 Jun 09:27
9708f4a
Compare
Choose a tag to compare

Fixes & Updates

This release include fixes & updates of cards detection and validation regex. Fixed Visa card numbers valid range.

Public release 1.5.2

02 Jun 15:23
fc96545
Compare
Choose a tag to compare

What's new

  • New .ssn field type that support US Social Security Number. For this field type we also create specific SSNState that returns last4 digits for SSN number.
  • New .isSecureTextEntry attribute in VGSTextField enables to switch on/off secure input settings.
  • Now you can get array with all VGSTextFields registered in VGSCollect instance as vgsCollect.textFields
  • Fixed issue with VGSCardIOScanController.delegate when it appeared to be nil after initialization.

Changes

Now default .isSecureTextEntry value for .cvc field type is false. If you need secure entry, you can set it via VGSTextField attribute:

cvcTextField.isSecureTextEntry = true

Public release 1.5.1

27 May 17:19
cb77723
Compare
Choose a tag to compare

What's new

  • Updated VGSCardTextField - now it’s possible to set cardIconLocation and cardIconSize
  • Track VGSTextField's editing events with new vgsTextFieldDidChange(_:) delegate method
  • New attributes in VGSTextField: clearButtonMode and adjustsFontForContentSizeCategory
  • Updated DinersClub validation regex to support 16 digits cards.
  • Better RTL experience