Releases: afterpay/sdk-ios
Releases · afterpay/sdk-ios
5.7.1
5.7.0
5.6.1
5.6.0
5.5.0
What's Changed
🚀 Features
- EIT-3944 - add obj-c support for
consumerLocale
insetConfiguration
@ScottAntonacAP (#259)
🧰 Maintenance
- EIT-3043 - remove assets for EU @ScottAntonacAP (#258)
5.4.0
5.3.0
5.2.0
What's Changed
🚀 Features
- Added support for integrations such as Cybersource, which depend on an HTTP request being received at the
redirectConfirmUrl
following the consumer's confirmation of the Afterpay payment schedule (#236) - Update dark & light titles in example app (#235)
🐛 Bug Fixes
- Moved gem files to src directory for docs (#234)
🧰 Maintenance
- Dependency updates (#237)
5.1.0
5.0.0
What's Changed
🚀 Features
- Localisation for EU (France, Italy, Spain) as well as fr-CA (#207)
Breaking Changes
The following table displays the device languages that Afterpay will display for depending on merchant region.
Merchant Country | Client languages that Afterpay is available for |
---|---|
Australia | English |
Canada | English, French |
France | French, English |
Italy | Italian, English |
New Zealand | English |
Spain | Spanish, English |
United Kingdom | English |
United States | English |
This is to ensure that the consumer understands the terms of use.
If the device language is not one of the available languages, then the visibility of any views (button, price breakdown etc) will be hidden using view.isHidden = true
and the checkout will not launch. Since using isHidden
can result in extra white-space, a property has been made available (Afterpay.enabled
). This can be used to add or remove the applicable views from the app. See the note under views for more information.
Views and functionality where the device language matches an approved language for the merchant account are unaffected by this change.