Skip to content

Releases: mariusbackes/cordova-plugin-sumup

v2.0.0

02 Jan 18:50
Compare
Choose a tag to compare

v2.0.0 Release

  • Updated the native SDK versions
  • The success screen on Android is not skipped anymore
  • Added support for iOS. The plugin can now be used with both, Android and iOS devices.

Breaking

  • The pay method no does accept other parameters.

Before:

SumUp.pay(amount: number, currencyCode: string);

Now

SumUp.pay(amount: number, title?: string, currencyCode?: string);

If no title is provided, the title is empty.
If no currencyCode is provided, the default currency from logged in user is chosen.