Skip to content

Commit 17e74a0

Browse files
Merge pull request #56 from square/support-for-1.7.6
Bump readerSdkVersion 1.7.6 and targetSdkVersion to 34
2 parents 997e642 + dfc5429 commit 17e74a0

File tree

6 files changed

+14
-11
lines changed

6 files changed

+14
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Reader SDK Quick Start Sample Android App
22

33

4-
Follow the Reader SDK [Quick Start Guide](https://docs.connect.squareup.com/payments/readersdk/quickstart) to start taking cash and credit card payments with Reader SDK.
4+
Follow the Reader SDK [Quick Start Guide](https://developer.squareup.com/docs/reader-sdk/quick-start/start) to start taking cash and credit card payments with Reader SDK.
55

66
## License
77

app/build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 33
5-
buildToolsVersion "30.0.3"
64
defaultConfig {
75
applicationId "com.example.readersdk"
86
minSdkVersion 24
9-
targetSdkVersion 33
7+
targetSdkVersion 34
8+
compileSdk 34
109
multiDexEnabled true
1110
versionCode 1050
1211
versionName "1.5"
@@ -15,7 +14,9 @@ android {
1514
// The native libraries from Block are already stripped, and contain security
1615
// measures that can be disturbed if Gradle attempts to strip them again.
1716
packagingOptions {
18-
doNotStrip "*/*/libregister.so"
17+
jniLibs {
18+
keepDebugSymbols += ['*/*/libregister.so']
19+
}
1920
}
2021

2122
dexOptions {
@@ -27,6 +28,7 @@ android {
2728
sourceCompatibility JavaVersion.VERSION_1_8
2829
targetCompatibility JavaVersion.VERSION_1_8
2930
}
31+
namespace 'com.example.readersdk'
3032
}
3133

3234
repositories {
@@ -44,7 +46,7 @@ repositories {
4446
}
4547

4648
dependencies {
47-
def readerSdkVersion = "1.7.5"
49+
def readerSdkVersion = "1.7.6"
4850
// SQUARE_READER_SDK_APPLICATION_ID is defined in ./gradle.properties
4951
implementation "com.squareup.sdk.reader:reader-sdk-$SQUARE_READER_SDK_APPLICATION_ID:$readerSdkVersion"
5052
runtimeOnly "com.squareup.sdk.reader:reader-sdk-internals:$readerSdkVersion"

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
xmlns:tools="http://schemas.android.com/tools"
3-
package="com.example.readersdk">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
42

53
<!-- This is needed to scan QR codes, not a requirement for Reader SDK. -->
64
<uses-permission android:name="android.permission.CAMERA"/>

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
google()
55
}
66
dependencies {
7-
classpath 'com.android.tools.build:gradle:7.0.4'
7+
classpath 'com.android.tools.build:gradle:8.4.2'
88
}
99
}
1010

gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ org.gradle.jvmargs=-Xmx4g
1111
android.useAndroidX=true
1212

1313
android.enableJetifier=true
14+
android.defaults.buildfeatures.buildconfig=true
15+
android.nonTransitiveRClass=false
16+
android.nonFinalResIds=false
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)