Skip to content

Commit 7b1cd0a

Browse files
authored
Merge pull request #111 from square/charmis/upgraded_android_version_1.7.5
Upgraded reader android SDK version to 1.7.5
2 parents 5b55b88 + eee4f4a commit 7b1cd0a

File tree

6 files changed

+14
-10
lines changed

6 files changed

+14
-10
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
## Changelog
22

3+
### v5.0.0 Aug 22st, 2023
4+
5+
* Upgrade to Reader SDK 1.7.5 on Android.
6+
* Support CompileSDK and targetSDK 33 on Android
7+
38
### v4.0.0 Sep 1st, 2022
49

510
* Update package dependencies to latest versions for Null Safety support.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The Flutter plugin for Reader SDK acts as a wrapper on the native SDKs and is
4040
currently compatible with the following native Reader SDK versions:
4141

4242
* iOS: 1.6.0 and above
43-
* Android: 1.6.1 and above
43+
* Android: 1.7.5 and above
4444

4545
Try the [sample app] to see the plugin in action or follow the instructions in
4646
the [getting started guide] to build a custom solution from scratch.

android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ rootProject.allprojects {
4444
apply plugin: 'com.android.library'
4545

4646
def DEFAULT_PLAY_SERVICES_BASE_VERSION = '16.0.1'
47-
def READER_SDK_VERSION = '[1.6.1, 2.0)'
47+
def READER_SDK_VERSION = '[1.7.5, 2.0)'
4848

4949
android {
5050
compileSdkVersion 32

example/android/app/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2626
apply plugin: 'kotlin-android'
2727

2828
android {
29-
compileSdkVersion 32
29+
compileSdkVersion 33
3030

3131
lintOptions {
3232
disable 'InvalidPackage'
3333
checkReleaseBuilds false
3434
}
35-
compileSdkVersion 32
35+
compileSdkVersion 33
3636
ndkVersion = "21.4.7075529"
3737

3838
sourceSets {
@@ -43,7 +43,7 @@ android {
4343
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4444
applicationId "com.example.flutter.squareup.sdk.reader"
4545
minSdkVersion 26
46-
targetSdkVersion 31
46+
targetSdkVersion 33
4747
versionCode flutterVersionCode.toInteger()
4848
versionName flutterVersionName
4949
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

example/android/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = '1.6.21'
2+
ext.kotlin_version = '1.8.0'
33

44
repositories {
55
google()
@@ -29,8 +29,8 @@ allprojects {
2929

3030
ext {
3131
// Override the reader sdk version with the this parameter
32-
// make sure the version is above min version 1.6.1
33-
readerSdkVersion = "[1.6.1, 2.0)"
32+
// make sure the version is above min version 1.7.5
33+
readerSdkVersion = "[1.7.5, 2.0)"
3434
}
3535

3636
rootProject.buildDir = '../build'
@@ -41,6 +41,6 @@ subprojects {
4141
project.evaluationDependsOn(':app')
4242
}
4343

44-
task clean(type: Delete) {
44+
tasks.register("clean", Delete) {
4545
delete rootProject.buildDir
4646
}

example/lib/main.dart

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// @dart=2.9
21
/*
32
Copyright 2022 Square Inc.
43

0 commit comments

Comments
 (0)