- Fix: iOS issue with UINavigationController where the plugin doesn't work with other plugins.
- Upgrade to HyperPay SDK version 4.8.0.
- Fix: bumping to SDK version 4.6.0
- BREAKING:
pay
method no longer checks for the pament status automatically, you need to call paymentStatus
yourself.
- BREAKING: the iOS SDK is now depended on from a git repository, to make the size of the plugin smaller.
- Open Podfile, and update it:
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
# The line is new, add it to your app's Podfile
pod 'oppwamobile', :git => 'https://github.com/nyartech/oppwamobile-ios-sdk.git'
$static_framework = ['hyperpay']
pre_install do |installer|
Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
installer.pod_targets.each do |pod|
if $static_framework.include?(pod.name)
def pod.build_type;
Pod::BuildType.static_library
end
end
end
end
end
- Fix: bumping to SDK version 4.5.0
- BREAKING: the AAR files are now bundled with the plugin, therefore a couple changes are needed to upgrade to this version:
- Remove any of these dependencies in your
app/build.gradle
:
implementation project(":oppwa.mobile")
implementation "androidx.appcompat:appcompat:1.3.1"
implementation "com.google.android.material:material:1.4.0"
implementation "com.google.android.gms:play-services-base:17.6.0"
- Add a dependency over the AAR file:
implementation (name:'oppwa.mobile-4.5.0-release', ext:'aar')
- in
settings.gradle
, remove the following line:
- Finally, remove the folder
oppwa.mobile
from the root android
folder in your app.
- Fix: Apple Pay transactions was being rejected.
- Fix: Kotlin null-safety error.
- Fix: Android bug on API levels 30 and above causing Custom Chrome Tabs to crash.
- Feat: fallback support for phones with no Custome Chrome Tabs installed.
- Fix: case-sensitive application ID on Android.
- Fix a bug with
Content-Type
header.
- Throw an exception for badly structured backend response.
- Breaking: refactor and update the library API.
- Bug fixes with platform code on Android and iOS.
- Enabled providing headers to endpoints configurations.
- Use ChromeCustomTabs for Android's authentication page.
- Add a canceled result and handle it in case hte user leave the authentication browser page before completing the transaction.
- Accepting headers in CheckoutSettings to enable making authorized calls to checkout & status endpoints.
- Fixed a bug with sending additional params on checkout.
- Removed dependency over Flutter.
- Format plugin dart files.
- Update README.