Skip to content

Commit

Permalink
Release 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zaid-abdullah committed May 8, 2024
1 parent c347b0a commit 100a280
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 46 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
# Changelog

For more information, see the [README](https://github.com/sumup/Android-MerchantSDK/blob/master/README.md)
## Version 5.0.0
* [ADDED] Support for the Solo Lite card reader (beta phase)
* [ADDED] Support for Australian Dollar and Mexican Pesos currencies - `SumUpPayment.Currency.AUD`, `SumUpPayment.Currency.MXN`
* [ADDED] New Troubleshooting flow for all our readers
* [ADDED] Introduction of a unified Black and White theme that represents "One Design Language" across all SumUp products
* [FIXED] A crash that was happening due to the play services location version incompatibility.
* [IMPROVEMENT] Updates about the technical stack:
* Minimum supported targetSDK is 31
* Minimum Kotlin is upgraded to 1.7.21
* Minimum Kotlin Coroutine is upgraded to 1.6.4
* Minimum AndroidX Activity is upgraded to version 1.5.1
* Minimum AndroidX Fragment is upgraded to version 1.5.7
* Minimum AppCompat is upgraded to 1.4.2
* Minimum Material Components is upgraded to 1.6.1
* Minimum Moshi is upgraded to 1.14.0
* Minimum Hilt is upgraded to 2.44.2
* Minimum AGP is upgraded to 7.3.0
* Building with AGP 7.3.0
* Updated Play services location to 21.0.1

## Version 4.3.0
* [REMOVED] Dropping support for Android 7 (API 25) and below
* [ADDED] Solo USB under Beta: the Solo card reader now supports connecting and transacting over USB cable. The minimum required Solo software version that supports the USB mode is 3.3.17.2.
Expand Down
23 changes: 5 additions & 18 deletions CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ Portions of the SumUp Android SDK and sample app may utilize the following copyr

---

[android-apt](https://bitbucket.org/hvisser/android-apt)

This plugin is created by Hugo Visser and released in the [public domain](http://unlicense.org/)

---

[Android-Universal-Image-Loader](https://github.com/nostra13/Android-Universal-Image-Loader)

[LICENCE](https://github.com/nostra13/Android-Universal-Image-Loader/blob/master/LICENSE)
Expand Down Expand Up @@ -40,12 +34,6 @@ SMC is dual licensed under Mozzile Public License, version 1.1 and GNU General P

---

[Toothpick](https://github.com/stephanenicolas/toothpick/)

[LICENCE](https://github.com/stephanenicolas/toothpick/blob/master/LICENSE)

---

[Kotlin](https://github.com/JetBrains/kotlin)

[LICENSE](https://github.com/JetBrains/kotlin/blob/master/license/LICENSE.txt)
Expand All @@ -58,12 +46,6 @@ SMC is dual licensed under Mozzile Public License, version 1.1 and GNU General P

---

[Threetenbp](https://github.com/ThreeTen/threetenbp)

[LICENSE](https://github.com/ThreeTen/threetenbp/blob/master/LICENSE.txt)

---

[Hilt](https://github.com/googlecodelabs/android-hilt)

[LICENSE](https://github.com/googlecodelabs/android-hilt/blob/main/LICENSE)
Expand All @@ -74,3 +56,8 @@ SMC is dual licensed under Mozzile Public License, version 1.1 and GNU General P

[LICENSE](https://github.com/square/retrofit/blob/master/LICENSE.txt)

---

[Okio](https://github.com/square/okio)

[LICENSE](https://github.com/square/okio/blob/master/LICENSE.txt)
29 changes: 4 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ For more information about SumUp developer products, please refer to our <a href
3. Requested an Affiliate (Access) Key via [SumUp Dashboard](https://me.sumup.com/developers) for Developers
4. SumUp SDK requires `minSdkVersion` 26 or later
6. SumUp SDK ensures support for
- `targetSDK` 30 or later
- AGP 7.0.0 or later
- Kotlin version 1.5.21 or later
- `targetSDK` 31 or later
- AGP 7.3.0 or later
- Kotlin version 1.7.21 or later
- Java 11 and later

## Compatibility
Expand Down Expand Up @@ -46,7 +46,7 @@ allprojects {
Add the dependency to a module:

```groovy
implementation 'com.sumup:merchant-sdk:4.3.0'
implementation 'com.sumup:merchant-sdk:5.0.0'
```


Expand Down Expand Up @@ -273,27 +273,6 @@ If the GLS dependency is not added to the project or Google Play Services are no

> NOTE: Using GLS version 19.0.1 is recommended.
### 10. TargetSDK lower than 31
Even if the SumUp SDK is now set to targetSDK 31, backward compatibility to lower targetSDK is ensured. However, the following will be necessary to be added in the AndroidManifest.xml

```java
<uses-permission
android:name="android.permission.BLUETOOTH_SCAN"
tools:node="remove"/>

<uses-permission
android:name="android.permission.BLUETOOTH_CONNECT"
tools:node="remove"/>

<uses-permission
android:name="android.permission.BLUETOOTH_SCAN" />

<uses-permission
android:name="android.permission.BLUETOOTH_CONNECT" />
```

**WARNING**: Make sure to remove this block of code when raising your targetSDK to 31 and above!

## Out of Scope
The following functions are handled by the [SumUp APIs](https://developer.sumup.com/docs/api/sum-up-rest-api/):
* [Refunds](https://developer.sumup.com/docs/api/refunds/)
Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 26
targetSdkVersion 33
versionCode 1
versionName "4.3.0"
versionName "5.0.0"
}

packagingOptions {
Expand All @@ -33,9 +33,9 @@ android {
}

dependencies {
implementation 'com.google.android.gms:play-services-location:19.0.1'
implementation 'com.google.android.gms:play-services-location:21.0.1'

implementation 'com.sumup:merchant-sdk:4.3.0'
implementation 'com.sumup:merchant-sdk:5.0.0'

coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.5"
}

0 comments on commit 100a280

Please sign in to comment.