Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reader SDK version bump to 1.7.4 #232

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ jobs:
run: ruby <(curl https://connect.squareup.com/readersdk-installer) install --app-id ${{secrets.SQUARE_READER_SDK_APPLICATION_ID}} --repo-password ${{secrets.SQUARE_READER_SDK_REPOSITORY_PASSWORD}} --version 1.6.1 > /dev/null
- name: Build iOS (debug)
working-directory: ./reader-sdk-react-native-quickstart/ios
run: xcodebuild -workspace RNReaderSDKSample.xcworkspace -configuration Debug -scheme RNReaderSDKSample -destination "platform=iOS Simulator,OS=16.2,name=iPhone 14"
run: xcodebuild -workspace RNReaderSDKSample.xcworkspace -configuration Debug -scheme RNReaderSDKSample -destination "platform=iOS Simulator,OS=17.0.1,name=iPhone 14"
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

### v1.4.5 Apr 25, 2024

* Upgrade Reader SDK version support to 1.7.2 for iOS
* Upgrade Reader SDK version support to 1.7.4 for iOS
Nilay-squareup marked this conversation as resolved.
Show resolved Hide resolved

### v1.4.4 Aug 16, 2023

* Upgrade Reader SDK version support to 1.7.5 for Android
* Support CompileSDK and targetSDK 33 on Android
* Upgrade Reader SDK version support to 1.7.7 for Android
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you should be updating the previous changelog. All of the changes should be for the newest entry.

* Support CompileSDK and targetSDK 34 on Android

### v1.4.3 Jan 20, 2023

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
This repo contains a React Native plugin for Square [Reader SDK]. Reader SDK for
React Native supports the following native Reader SDK versions:

* iOS: 1.7.2 and above
* Android: 1.7.5 and above
* iOS: 1.7.4 and above
* Android: 1.7.7 and above

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

Expand Down
2 changes: 1 addition & 1 deletion RNReaderSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = "RNReaderSDK"
s.version = "1.7.2"
s.version = "1.7.4"
Nilay-squareup marked this conversation as resolved.
Show resolved Hide resolved
s.summary = "A React Native plugin for Square Reader SDK"
s.description = <<-DESC
A React Native plugin for Square Reader SDK
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ buildscript {
apply plugin: 'com.android.library'

def DEFAULT_PLAY_SERVICES_BASE_VERSION = '16.0.1'
def READER_SDK_VERSION = '1.7.4'
def READER_SDK_VERSION = '1.7.7'

android {
compileSdkVersion 33
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-square-reader-sdk",
"version": "1.7.2",
"version": "1.7.7",
Nilay-squareup marked this conversation as resolved.
Show resolved Hide resolved
"description": "A React Native plugin for Square Reader SDK",
"homepage": "https://github.com/square/react-native-square-reader-sdk",
"repository": {
Expand Down
5 changes: 4 additions & 1 deletion reader-sdk-react-native-quickstart/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,10 @@ dependencies {
}
// The version of react-native is set by the React Native Gradle Plugin
implementation("com.facebook.react:react-android")
// implementation 'com.reactnative:react-native-square-reader-sdk:1.7.2'
// implementation 'com.reactnative:react-native-square-reader-sdk:1.7.4'
Nilay-squareup marked this conversation as resolved.
Show resolved Hide resolved
def readerSdkVersion = "1.7.7"
implementation "com.squareup.sdk.reader:reader-sdk-$SQUARE_READER_SDK_APPLICATION_ID:$readerSdkVersion"
runtimeOnly "com.squareup.sdk.reader:reader-sdk-internals:$readerSdkVersion"


implementation "androidx.multidex:multidex:2.0.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ import com.facebook.react.ReactNativeHost
import com.facebook.react.ReactPackage
import com.facebook.react.PackageList
import com.facebook.soloader.SoLoader
import com.squareup.sdk.reader.ReaderSdk
import com.rnreadersdksample.MainApplication

import android.content.Context
import com.facebook.react.ReactInstanceManager
import com.squareup.sdk.reader.ReaderSdk
Nilay-squareup marked this conversation as resolved.
Show resolved Hide resolved
import java.lang.ClassNotFoundException
import java.lang.NoSuchMethodException
import java.lang.IllegalAccessException
Expand All @@ -48,7 +49,6 @@ class MainApplication : Application(), ReactApplication {
super.onCreate()
SoLoader.init(this, /* native exopackage */false)
ReaderSdk.initialize(this)
initializeFlipper(this, reactNativeHost.reactInstanceManager)
}

companion object {
Expand Down
4 changes: 2 additions & 2 deletions reader-sdk-react-native-quickstart/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ buildscript {
buildToolsVersion = "33.0.0"
minSdkVersion = 24
compileSdkVersion = 34
targetSdkVersion = 33
readerSdkVersion = "1.7.4"
targetSdkVersion = 34
readerSdkVersion = "1.7.7"
ndkVersion = "21.4.7075529"
kotlin_version ='1.8.21'
}
Expand Down
Loading