Skip to content

Commit b9fa585

Browse files
version bump android 1..7.7 and ios 1.7.6
1 parent 8b3391c commit b9fa585

File tree

7 files changed

+15
-11
lines changed

7 files changed

+15
-11
lines changed

CHANGELOG.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
### v1.4.5 Apr 25, 2024
44

5-
* Upgrade Reader SDK version support to 1.7.4 for iOS
5+
* Upgrade Reader SDK version support to 1.7.6 for iOS
66

77
### v1.4.4 Aug 16, 2023
88

9-
* Upgrade Reader SDK version support to 1.7.5 for Android
10-
* Support CompileSDK and targetSDK 33 on Android
9+
* Upgrade Reader SDK version support to 1.7.7 for Android
10+
* Support CompileSDK and targetSDK 34 on Android
1111

1212
### v1.4.3 Jan 20, 2023
1313

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
This repo contains a React Native plugin for Square [Reader SDK]. Reader SDK for
77
React Native supports the following native Reader SDK versions:
88

9-
* iOS: 1.7.4 and above
10-
* Android: 1.7.5 and above
9+
* iOS: 1.7.6 and above
10+
* Android: 1.7.7 and above
1111

1212
>This plugin loads latest version of native Reader SDK by default according to [update policy for Reader SDK].
1313

RNReaderSDK.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Pod::Spec.new do |s|
33
s.name = "RNReaderSDK"
4-
s.version = "1.7.4"
4+
s.version = "1.7.6"
55
s.summary = "A React Native plugin for Square Reader SDK"
66
s.description = <<-DESC
77
A React Native plugin for Square Reader SDK

android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ buildscript {
2828
apply plugin: 'com.android.library'
2929

3030
def DEFAULT_PLAY_SERVICES_BASE_VERSION = '16.0.1'
31-
def READER_SDK_VERSION = '1.7.4'
31+
def READER_SDK_VERSION = '1.7.7'
3232

3333
android {
3434
compileSdkVersion 33

reader-sdk-react-native-quickstart/android/app/build.gradle

+4-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ dependencies {
220220
}
221221
// The version of react-native is set by the React Native Gradle Plugin
222222
implementation("com.facebook.react:react-android")
223-
// implementation 'com.reactnative:react-native-square-reader-sdk:1.7.2'
223+
// implementation 'com.reactnative:react-native-square-reader-sdk:1.7.4'
224+
def readerSdkVersion = "1.7.7"
225+
implementation "com.squareup.sdk.reader:reader-sdk-$SQUARE_READER_SDK_APPLICATION_ID:$readerSdkVersion"
226+
runtimeOnly "com.squareup.sdk.reader:reader-sdk-internals:$readerSdkVersion"
224227

225228

226229
implementation "androidx.multidex:multidex:2.0.1"

reader-sdk-react-native-quickstart/android/app/src/main/java/com/rnreadersdksample/MainApplication.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ import com.facebook.react.ReactNativeHost
1818
import com.facebook.react.ReactPackage
1919
import com.facebook.react.PackageList
2020
import com.facebook.soloader.SoLoader
21-
import com.squareup.sdk.reader.ReaderSdk
2221
import com.rnreadersdksample.MainApplication
22+
2323
import android.content.Context
2424
import com.facebook.react.ReactInstanceManager
25+
import com.squareup.sdk.reader.ReaderSdk
2526
import java.lang.ClassNotFoundException
2627
import java.lang.NoSuchMethodException
2728
import java.lang.IllegalAccessException

reader-sdk-react-native-quickstart/android/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ buildscript {
2828
buildToolsVersion = "33.0.0"
2929
minSdkVersion = 24
3030
compileSdkVersion = 34
31-
targetSdkVersion = 33
32-
readerSdkVersion = "1.7.4"
31+
targetSdkVersion = 34
32+
readerSdkVersion = "1.7.7"
3333
ndkVersion = "21.4.7075529"
3434
kotlin_version ='1.8.21'
3535
}

0 commit comments

Comments
 (0)