Skip to content

v4.0

Compare
Choose a tag to compare
@lucasbordini lucasbordini released this 01 Jun 18:53
· 4 commits to main since this release

Product Updates

  • Updated the Recipients screen to be more intuitive when displaying Recipients and Accounts.
    i. Removed the cash pickup label under the Recipient if no account is defined to improve the clarity of the Recipient's account information.
    ii. Improved visibility of the Recipient name.
    iii. Improved the layout of the saved transfer methods for the Recipient.
    iv. Added a "Start new transfer" link under each Recipient to allow users to begin a new transfer to a new account.

  • Updated the branding definition and implementation within the SDK using design tokens that are easier for customers to understand.

  • Created a Branding Migration Guide for iOS and Android to easily update migration settings.

  • Improved the KYC process flow by dividing the first steps into two screens to provide clearer instructions for submitting eligible documents and for taking ID and Selfie photos.

  • Updated font sizes, backgrounds, margins, and spacing on all SDK screens to
    provide a more uniform visual experience.

  • Updated product documentation with new branding details, and instructions for
    incorporating new libraries and implementing new versions of the SDK.

Bug Fixes

  • Improved a banner error message displayed when a transfer fails due to a failed KYC status. A message to contact support will be displayed.
  • Improved the Location Details screen for the cash pickup Payment Type to accurately display Payer and Payer Locations.
  • Added a clearer message to the Recipient Profile if no Recipient accounts have been added.
  • Resolved an issue where the Recipient Account screen was being skipped when creating a new transfer for an existing Recipient.
  • Resolved visual discrepancies on the Recipient Account screen for iOS 14 users.
  • Resolved an issue on multiple screens where dropdowns were difficult to select.

Migration Guide

In this migration guide, you'll discover the steps required to transition your project from version 3.x or previous to the latest version 4.0 of our iOS SDK. The transition necessitates a few modifications on your part due to our enhancements in styling, simplified color token handling, and the adoption of intuitive naming conventions. Follow this guide to upgrade your project effectively.

  • Alter your theme objects: Our SDK styling has undergone a facelift to be more intuitive and user-friendly. To adapt to these alterations, tailor your theme objects to the following structure:

    let scheme = ReadyRemitColorScheme()
    scheme.background = UIColor(lightHex: "#F3F4F6", darkHex: "#111111") //Background color
    scheme.foreground = UIColor(lightHex: "#FFFFFF", darkHex: "#1F1F1F") //Card color
    scheme.text = UIColor(lightHex: "#0E0F0C", darkHex: "#E3E3E3") // Title color
    scheme.textSecondary = UIColor(lightHex: "#454545", darkHex: "#FF9800") // Default text color
    scheme.buttonText = UIColor(lightHex: "#000000", darkHex: "#B0B0B0")  //Button text color
    scheme.danger = UIColor(lightHex: "#AA220F", darkHex: "#AA220F") //Error messages, error lines, error fields
    scheme.dangerLight = UIColor(lightHex: "#9C6D67", darkHex: "#9C6D67") //Danger button color
    scheme.divider = UIColor(lightHex: "#E2E2E2", darkHex: "#313131") //Divider colors
    scheme.success = UIColor(lightHex: "#008761", darkHex: "#008761") //Success messages
    scheme.icon = UIColor(lightHex: "#444444", darkHex: "#7E7E7E") //Icon colors
    scheme.inputLine = UIColor(lightHex: "#858585", darkHex: "#505050") //Field line border color
    scheme.primary = UIColor(lightHex: "#FAED8C", darkHex: "#BDB708") //Button, actions and link color
    scheme.primaryLight = UIColor(lightHex: "#FAF4C8", darkHex: "#B5B374") //Advices and informative color
    

** If you are using react native do the following:

const styles = {
fonts: {
  default: { family: 'luminari' }
},
colors: {
  buttonText: { lightHex: "#000000", darkHex: "#FFFFFF" }, //Button text color
  divider: { lightHex: "#E2E2E2", darkHex: "#313131" }, //Divider colors
  icon: { lightHex: "#444444", darkHex: "#7E7E7E" }, //Icon colors
  inputLine: { lightHex: "#858585", darkHex: "#505050" }, //Field line border color
  primary: { lightHex: "#FAED8C", darkHex: "#BDB708" }, //Button, actions and link color
  primaryLight: { lightHex: "#FAF4C8", darkHex: "#B5B374" }, //Advices and informative color
  text: { lightHex: "#0E0F0C", darkHex: "#E3E3E3" }, // Title color
  textSecondary: { lightHex: "#454545", darkHex: "#B0B0B0" }, // Default text color
  background: { lightHex: "#F3F4F6", darkHex: "#111111" }, //Background color
  foreground: { lightHex: "#FFFFFF", darkHex: "#1F1F1F" }, //Card color
  success: { lightHex: "#008761", darkHex: "#008761" }, //Success messages
  danger: { lightHex: "#AA220F", darkHex: "#AA220F" }, //Error messages, error lines, error fields
  dangerLight: { lightHex: "#9C6D67", darkHex: "#9C6D67" }, //Danger button color
}} 
  • Redefine the RCTReadyRemitModule.m file: We've created a revised version of the RCTReadyRemitModule.m file for your convenience. Your task is to replicate the complete code, superseding your existing file. The file can be located here

  • Incorporate the Visa library: Our latest feature includes Visa integration for debit card deposits. To avail of this service, you need to include the Visa library, found in the VisaSensoryBranding.zip file. Follow the undermentioned steps to import it:

  1. Download the VisaSensoryBranding.xcframework.zip
  2. Extract the content into your Frameworks folder in the root of your iOS project
  3. Open the iOS project with XCode
  4. Select your project in Project Navigator
  5. Drag the new SDK to the "Frameworks, Libraries and Embedded Content" section
  6. Ensure that the "Embed & Sign" option is selected

For comprehensive knowledge on any additional alterations required for projects transitioning from version 3.x or prior, we urge you to peruse the full documentation. The documentation can be found at this address: https://developer.readyremit.com/docs/ios.