Releases: omise/omise-ios
Releases · omise/omise-ios
Fixed Installments
Previously the initializer of Installment
payments was private. Changed it to public so Installments
can be created like all other payment methods.
Implement new convenience method
Omise iOS SDK updates
- Added convenience method that can use for getting or polling Omise Charge status from Omise TokenID
import OmiseSDK
let omiseSDKClient = Client(publicKey: "omise_public_key")
// One time use
omiseSDKClient.retrieveChargeStatusWithCompletionHandler(from: "omise_token_id", completionHandler: { [weak self]result in
switch result {
case .success(let chargeStatus):
// Handle ChargeStatus
case .failure(let error):
// Handle error
}
})
// Or use this method for polling (pull Charge status every 3 second until exceed the limit(10 times) or Charge status changed to Success or Failed)
omiseSDKClient.pollingChargeStatusWithCompletionHandler(from: "omise_token_id") { [weak self](result) in
switch result {
case .success(let chargeStatus):
// Handle ChargeStatus
case .failure(let error):
// Handle error
}
}
Support JavaScript panel
Omise iOS SDK updates
- Support JavaScript alert panel with the message on an authorization web view
- Support JavaScript confirm panel with the message on an authorization web view
- Support JavaScript text input panel with the message on an authorization web view
Set new minimum iOS version support to iOS 10
Omise iOS SDK updates
- Unsupported iOS version below iOS 10
- Unsupported Swift 4
- Remove legacy code
- Remove old iOS version availability check
- Remove old Swift version availability check
Improve SDK details
Improve SDK details
- Revise group of Bank icon and remove unused some Bank icon
- Remove deprecated cases that make the warnings occur
- Set new minimum iOS version that Xcode 12 support
Support Mobile Banking - SCB
This version adds support for new Source Types:
- Mobile Banking: Siam Commercial Bank (SCB)
There are also improved Built-in Forms:
- Updated the icons and logos of some of the payment methods
New installment method
This version adds support for new installment method - Siam Commercial Bank
New Source Types
This version adds support for two new Source Types:
- TrueMoney Wallet
- Citi Rewards Points
There are also some bug fixes and improved Built-in Forms:
- Added missing payment methods (eContext & Tesco Lotus Bill Payment) to the Capability API
- Updated the icons and logos of some of the payment methods
- Improved visualization in dark mode
- Improved Thai and Japanese localization
Supported new source types
This version supports new source types
- PayNow
- PromptPay
Mini bug fixed
Fix return wrong fingerprint
value in the Card
model.