Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@mariusbackes mariusbackes released this 02 Jan 18:50
· 58 commits to master since this release

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.