Skip to main content

iOS Components v3.2.0

ยท 2 min read

When using the biometrics authentication as a supporting login method to a web app, a decline-challenge webhook has been introduced for completeness. Also better branding support for biometrics screens and other improvements.

Addedโ€‹

  • Introduced caching the biometrics branding config of the project for 5 minutes.

Changedโ€‹

  • Upgraded IdensicMobileSDK (provides KYCKYC Know Your Customer - the identity verification process for consumer identities. This process allows you to seamlessly and securely verify your user's identity. Weavr will ask users to submit the necessary information and documentation so that they can get approved by financial providers. flows) dependency to ~> 1.41.0
  • Removed third party dependency types from the public interface of the SDK
    • Replaced all parameters in UXComponents.kyc.startKyc with:
      • viewController: The UIViewController used to launch the flow from.
      • kycData: A model containing the KYCKYC Know Your Customer - the identity verification process for consumer identities. This process allows you to seamlessly and securely verify your user's identity. Weavr will ask users to submit the necessary information and documentation so that they can get approved by financial providers. flow data required to launch. It includes:
        • reference: The Applicant reference
        • initialEmail: The email used to pre-populate the flow.
        • initialPhone: The phone used to pre-populate the flow.
        • locale: The locale used in the flow.
        • brandingConfig: The branding to be applied to the flow. Consistent with the Biometrics setup, but not yet integrated with the theming present in https://portal.weavr.io.
      • tokenExpirationHandler to handle providing a new token if the old one expires. It accepts nil values if the token couldn't be refreshed.
      • eventCallback merging weavrExceptionHandlers and kycListeners so the EmbedderEmbedder A company or developer that integrates Weavr's embedded finance services into their own application to provide financial services to their end customers. has fewer callbacks to implement.
    • Introduced new domain models to provide feedback about the KYCKYC Know Your Customer - the identity verification process for consumer identities. This process allows you to seamlessly and securely verify your user's identity. Weavr will ask users to submit the necessary information and documentation so that they can get approved by financial providers. flow:
      • KYCEvent an enum containing a list of potential events occurring during the KYCKYC Know Your Customer - the identity verification process for consumer identities. This process allows you to seamlessly and securely verify your user's identity. Weavr will ask users to submit the necessary information and documentation so that they can get approved by financial providers. flow.
      • KYCStatus an enum with a list of potential states the KYCKYC Know Your Customer - the identity verification process for consumer identities. This process allows you to seamlessly and securely verify your user's identity. Weavr will ask users to submit the necessary information and documentation so that they can get approved by financial providers. flow can be in.
      • KYCErrorCause an enum to help identify the kind of error that occurred in the KYCKYC Know Your Customer - the identity verification process for consumer identities. This process allows you to seamlessly and securely verify your user's identity. Weavr will ask users to submit the necessary information and documentation so that they can get approved by financial providers. flow.
  • Initialising the PSA module no longer requires an environment as it uses the environment provided to UXComponents.
  • Introduced startBiometricsChallenge(userInfo:,completion:) to simplify handling the result of the biometrics challenge.
  • Made ErrorResponse.code and ErrorResponse.message non optional.
  • Improved branding support in the following flows:
    • Strong Customer Authentication (SCASCA Strong Customer Authentication - a two-factor authentication solution required by PSD2 regulations for when end-users are accessing their payment account sensitive information or initiating transactions. SCA requires at least two of the following: something you know (password), something you have (device), or something you are (biometrics).) flows
    • Know Your Customer (KYCKYC Know Your Customer - the identity verification process for consumer identities. This process allows you to seamlessly and securely verify your user's identity. Weavr will ask users to submit the necessary information and documentation so that they can get approved by financial providers.) flows

Deprecatedโ€‹

  • Deprecated the ENV name in favour of Environment.
  • Deprecated the uppercase Environment cases (SANDBOX, PRODUCTION) in favour of CamelCase (Sandbox, Production).
  • Deprecated startChallenge(userInfo:,completion:) in favour of startBiometricsChallenge(userInfo:,completion:).
  • Deprecated ErrorResponse.body, which will be empty until it's removal.
  • Deprecated PSAEnv so as to rely only on the Environment provided to UXComponents.