From 3b34e78ffece26ce6a78576799119a2cea121e48 Mon Sep 17 00:00:00 2001 From: mansi-square Date: Mon, 22 Apr 2024 18:52:47 +0530 Subject: [PATCH 1/8] Upgrade IOS version to 1.7.2 1. Upgrade IOS version to 1.7.2 2. Upgrade app plugin version --- CHANGELOG.md | 4 ++++ README.md | 2 +- example/ios/Podfile | 2 +- example/ios/Runner.xcodeproj/project.pbxproj | 18 ++++++++++++++++++ example/lib/screens/widgets/buttons.dart | 3 +-- example/pubspec.yaml | 8 ++++---- ios/square_reader_sdk.podspec | 2 +- 7 files changed, 30 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 057a753..64de211 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Changelog +### v6.0.0 Apr 22st, 2024 + +* Upgrade to Reader SDK 1.7.2 on iOS. + ### v5.0.0 Aug 22st, 2023 * Upgrade to Reader SDK 1.7.5 on Android. diff --git a/README.md b/README.md index f345ebd..28f2bb8 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ you invoke any of Reader plugin method. The Flutter plugin for Reader SDK acts as a wrapper on the native SDKs and is currently compatible with the following native Reader SDK versions: - * iOS: 1.6.0 and above + * iOS: 1.7.2 and above * Android: 1.7.5 and above Try the [sample app] to see the plugin in action or follow the instructions in diff --git a/example/ios/Podfile b/example/ios/Podfile index 9df31d1..ae172e7 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -platform :ios, '11.1' +platform :ios, '14.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index 48a2bd1..51326f8 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -144,6 +144,7 @@ 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 17130ABE28ACDC4A007FE54B /* Square setup script */, 324E410A8DA310037B0B821B /* [CP] Embed Pods Frameworks */, + CB238059B6C64501CA7FAC41 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -288,6 +289,23 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build\n"; }; + CB238059B6C64501CA7FAC41 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Copy Pods Resources"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ diff --git a/example/lib/screens/widgets/buttons.dart b/example/lib/screens/widgets/buttons.dart index 502d203..e8c93f3 100644 --- a/example/lib/screens/widgets/buttons.dart +++ b/example/lib/screens/widgets/buttons.dart @@ -128,9 +128,8 @@ class SQRaisedButton extends StatelessWidget { Widget build(BuildContext context) => ElevatedButton( child: Text(text), style: ElevatedButton.styleFrom( - primary: Color.fromRGBO(57, 114, 178, 1.0), + foregroundColor: Colors.white, backgroundColor: Color.fromRGBO(57, 114, 178, 1.0), padding: EdgeInsets.all(15.0), - onPrimary: Colors.white, shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(8.0)), ), diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 7280084..7ac8c0d 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -16,10 +16,10 @@ dependencies: flutter: sdk: flutter - permission_handler: ^9.2.0 - barcode_scan2: ^4.2.1 - intl: ^0.17.0 - firebase_core: ^1.20.1 + permission_handler: ^11.3.1 + barcode_scan2: ^4.3.0 + intl: ^0.19.0 + firebase_core: ^2.30.0 # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. diff --git a/ios/square_reader_sdk.podspec b/ios/square_reader_sdk.podspec index fca094f..c867b06 100644 --- a/ios/square_reader_sdk.podspec +++ b/ios/square_reader_sdk.podspec @@ -3,7 +3,7 @@ # Pod::Spec.new do |s| s.name = 'square_reader_sdk' - s.version = '3.0.0' + s.version = '1.7.2' s.summary = 'iOS part of a flutter plugin for Square Reader SDK.' s.description = <<-DESC iOS part of a flutter plugin for Square Reader SDK. From d21776462c9b926d1aac09347a0223ad039353ea Mon Sep 17 00:00:00 2001 From: Brandon Jenniges Date: Mon, 22 Apr 2024 13:30:21 -0500 Subject: [PATCH 2/8] Fix constraints of launch screen --- .../ios/Runner/Base.lproj/LaunchScreen.xib | 22 +++++++------------ 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/example/ios/Runner/Base.lproj/LaunchScreen.xib b/example/ios/Runner/Base.lproj/LaunchScreen.xib index 8059bcb..0dee7a4 100644 --- a/example/ios/Runner/Base.lproj/LaunchScreen.xib +++ b/example/ios/Runner/Base.lproj/LaunchScreen.xib @@ -1,9 +1,9 @@ - + - + @@ -13,21 +13,15 @@ - + - - - - - - - - - - - + + + + + From f0a9f145f69c375a2597617010142d7c6a211fdd Mon Sep 17 00:00:00 2001 From: Nilay-squareup Date: Mon, 5 Aug 2024 13:10:30 +0530 Subject: [PATCH 3/8] updated code as per comment --- CHANGELOG.md | 2 +- ios/square_reader_sdk.podspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64de211..6b5a162 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## Changelog -### v6.0.0 Apr 22st, 2024 +### v6.0.0 Apr 22, 2024 * Upgrade to Reader SDK 1.7.2 on iOS. diff --git a/ios/square_reader_sdk.podspec b/ios/square_reader_sdk.podspec index c867b06..2a2c855 100644 --- a/ios/square_reader_sdk.podspec +++ b/ios/square_reader_sdk.podspec @@ -30,6 +30,6 @@ iOS part of a flutter plugin for Square Reader SDK. } s.swift_version = '5.0' - s.ios.deployment_target = '11.1' + s.ios.deployment_target = '14.0' end From 67a56e0281fc37be0ceb78dfd45f45baad38d4ce Mon Sep 17 00:00:00 2001 From: Nilay-squareup Date: Mon, 5 Aug 2024 15:03:33 +0530 Subject: [PATCH 4/8] updated code as per pipeline --- android/build.gradle | 10 +++++----- example/lib/main.dart | 7 +++---- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 1dba8fb..4bed614 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -34,8 +34,8 @@ rootProject.allprojects { maven { url "https://sdk.squareup.com/android" credentials { - username SQUARE_READER_SDK_APPLICATION_ID - password SQUARE_READER_SDK_REPOSITORY_PASSWORD + username "sq0idp-ZEe0gjVrSrPSE1YMM4T75A" + password "35mywk6inosfvr4zgudkmssu5tvtuiwnicjvc2vn7xwf7ujtd22q" } } } @@ -47,11 +47,11 @@ def DEFAULT_PLAY_SERVICES_BASE_VERSION = '16.0.1' def READER_SDK_VERSION = '[1.7.5, 2.0)' android { - compileSdkVersion 32 + compileSdkVersion 33 defaultConfig { minSdkVersion 24 - targetSdkVersion 31 + targetSdkVersion 33 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" multiDexEnabled true } @@ -72,6 +72,6 @@ dependencies { def readerSdkVersion = rootProject.hasProperty('readerSdkVersion') ? rootProject.readerSdkVersion : READER_SDK_VERSION def playServicesBaseVersion = rootProject.hasProperty('googlePlayServiceVersion') ? rootProject.googlePlayServiceVersion : DEFAULT_PLAY_SERVICES_BASE_VERSION implementation "com.google.android.gms:play-services-base:$playServicesBaseVersion" - api "com.squareup.sdk.reader:reader-sdk-$SQUARE_READER_SDK_APPLICATION_ID:$readerSdkVersion" + api "com.squareup.sdk.reader:reader-sdk-sq0idp-ZEe0gjVrSrPSE1YMM4T75A:$readerSdkVersion" runtimeOnly "com.squareup.sdk.reader:reader-sdk-internals:$readerSdkVersion" } diff --git a/example/lib/main.dart b/example/lib/main.dart index 1494328..496158c 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -41,7 +41,6 @@ class ExampleApp extends StatelessWidget { ThemeData _buildTheme() { var base = ThemeData.light(); return base.copyWith( - backgroundColor: Color.fromRGBO(64, 135, 225, 1.0), canvasColor: Colors.transparent, scaffoldBackgroundColor: Color.fromRGBO(64, 135, 225, 1.0), buttonTheme: ButtonThemeData( @@ -54,15 +53,15 @@ ThemeData _buildTheme() { ), ), textTheme: TextTheme( - button: TextStyle( + labelLarge: TextStyle( fontSize: 20.0, fontWeight: FontWeight.w600, color: Colors.white, ), - bodyText1: TextStyle( + bodyLarge: TextStyle( fontSize: 24.0, fontWeight: FontWeight.w600, color: Colors.white, - )), + )), colorScheme: ColorScheme.dark() ); } From 29eb4de763bc1f3298845f1c5d22f7c4a0480216 Mon Sep 17 00:00:00 2001 From: Nilay-squareup Date: Mon, 5 Aug 2024 16:24:08 +0530 Subject: [PATCH 5/8] updated code for ios build fail --- example/ios/Podfile.lock | 83 ++++++++------------ example/ios/Runner.xcodeproj/project.pbxproj | 20 +++-- 2 files changed, 46 insertions(+), 57 deletions(-) diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index d6d3422..c44b57e 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -3,45 +3,34 @@ PODS: - Flutter - MTBBarcodeScanner - SwiftProtobuf - - Firebase/CoreOnly (9.3.0): - - FirebaseCore (= 9.3.0) - - firebase_core (1.20.1): - - Firebase/CoreOnly (= 9.3.0) + - Firebase/CoreOnly (10.25.0): + - FirebaseCore (= 10.25.0) + - firebase_core (2.32.0): + - Firebase/CoreOnly (= 10.25.0) - Flutter - - FirebaseCore (9.3.0): - - FirebaseCoreDiagnostics (~> 9.0) - - FirebaseCoreInternal (~> 9.0) - - GoogleUtilities/Environment (~> 7.7) - - GoogleUtilities/Logger (~> 7.7) - - FirebaseCoreDiagnostics (9.4.0): - - GoogleDataTransport (< 10.0.0, >= 9.1.4) - - GoogleUtilities/Environment (~> 7.7) - - GoogleUtilities/Logger (~> 7.7) - - nanopb (< 2.30910.0, >= 2.30908.0) - - FirebaseCoreInternal (9.4.0): - - "GoogleUtilities/NSData+zlib (~> 7.7)" + - FirebaseCore (10.25.0): + - FirebaseCoreInternal (~> 10.0) + - GoogleUtilities/Environment (~> 7.12) + - GoogleUtilities/Logger (~> 7.12) + - FirebaseCoreInternal (10.29.0): + - "GoogleUtilities/NSData+zlib (~> 7.8)" - Flutter (1.0.0) - - GoogleDataTransport (9.2.0): - - GoogleUtilities/Environment (~> 7.7) - - nanopb (< 2.30910.0, >= 2.30908.0) + - GoogleUtilities/Environment (7.13.3): + - GoogleUtilities/Privacy - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Environment (7.7.0): - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.7.0): + - GoogleUtilities/Logger (7.13.3): - GoogleUtilities/Environment - - "GoogleUtilities/NSData+zlib (7.7.0)" + - GoogleUtilities/Privacy + - "GoogleUtilities/NSData+zlib (7.13.3)": + - GoogleUtilities/Privacy + - GoogleUtilities/Privacy (7.13.3) - MTBBarcodeScanner (5.0.11) - - nanopb (2.30909.0): - - nanopb/decode (= 2.30909.0) - - nanopb/encode (= 2.30909.0) - - nanopb/decode (2.30909.0) - - nanopb/encode (2.30909.0) - - permission_handler_apple (9.0.4): + - permission_handler_apple (9.3.0): - Flutter - - PromisesObjC (2.1.1) - - square_reader_sdk (3.0.0): + - PromisesObjC (2.4.0) + - square_reader_sdk (1.7.2): - Flutter - - SwiftProtobuf (1.19.1) + - SwiftProtobuf (1.27.1) DEPENDENCIES: - barcode_scan2 (from `.symlinks/plugins/barcode_scan2/ios`) @@ -54,12 +43,9 @@ SPEC REPOS: trunk: - Firebase - FirebaseCore - - FirebaseCoreDiagnostics - FirebaseCoreInternal - - GoogleDataTransport - GoogleUtilities - MTBBarcodeScanner - - nanopb - PromisesObjC - SwiftProtobuf @@ -77,21 +63,18 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: barcode_scan2: 0af2bb63c81b4565aab6cd78278e4c0fa136dbb0 - Firebase: ef75abb1cdbc746d5a38f4e26c422c807b189b8c - firebase_core: e66a443ec996cb5e364dc70b4cfc1809c32cbb2e - FirebaseCore: c088995ece701a021a48a1348ea0174877de2a6a - FirebaseCoreDiagnostics: aaa87098082c4d4bdd1a9557b1186d18ca85ce8c - FirebaseCoreInternal: a13302b0088fbf5f38b79b6ece49c2af7d3e05d6 - Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a - GoogleDataTransport: 1c8145da7117bd68bbbed00cf304edb6a24de00f - GoogleUtilities: e0913149f6b0625b553d70dae12b49fc62914fd1 + Firebase: 0312a2352584f782ea56f66d91606891d4607f06 + firebase_core: a626d00494efa398e7c54f25f1454a64c8abf197 + FirebaseCore: 7ec4d0484817f12c3373955bc87762d96842d483 + FirebaseCoreInternal: df84dd300b561c27d5571684f389bf60b0a5c934 + Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 + GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15 MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb - nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431 - permission_handler_apple: 44366e37eaf29454a1e7b1b7d736c2cceaeb17ce - PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb - square_reader_sdk: 9f71e845136d9ebc33bf9e0dfc52f6cb1891655f - SwiftProtobuf: 59d9ea2eb5f84b509f32d170a65f3348ae758f1e + permission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2 + PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 + square_reader_sdk: f4513060ef1e1f79909fbe39ce59e1f8c9f5a525 + SwiftProtobuf: b109bd17979d7993a84da14b1e1fdd8b0ded934a -PODFILE CHECKSUM: 3ceefe9d94e435d066c1c3f69ed8e7d6a52397ff +PODFILE CHECKSUM: 1d93de05b96f287f2abf60c10a10887d8ecc77f3 -COCOAPODS: 1.11.2 +COCOAPODS: 1.15.2 diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index 51326f8..5379739 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -251,7 +251,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; + shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin\n"; }; 90342CCEE2EE75FC4F40EB89 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; @@ -381,7 +381,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.1; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -396,8 +396,9 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = C2UGS295KL; + DEVELOPMENT_TEAM = ""; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( @@ -406,6 +407,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = com.example.flutter.squareup.sdk.example; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; @@ -459,7 +461,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.1; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -508,7 +510,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.1; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -525,8 +527,9 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = C2UGS295KL; + DEVELOPMENT_TEAM = ""; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( @@ -535,6 +538,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = com.example.flutter.squareup.sdk.example; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; @@ -548,8 +552,9 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = C2UGS295KL; + DEVELOPMENT_TEAM = ""; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( @@ -558,6 +563,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = com.example.flutter.squareup.sdk.example; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; From 5eff939fc07fedc94cfcd79a93cc226ccf0f4ae3 Mon Sep 17 00:00:00 2001 From: Nilay-squareup Date: Mon, 5 Aug 2024 17:15:42 +0530 Subject: [PATCH 6/8] updated code for ios build fail --- example/ios/Runner.xcodeproj/project.pbxproj | 1 - 1 file changed, 1 deletion(-) diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index 5379739..2995e84 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -205,7 +205,6 @@ /* Begin PBXShellScriptBuildPhase section */ 17130ABE28ACDC4A007FE54B /* Square setup script */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); From 4d95270087713c97734e718d39259b0fd77db75b Mon Sep 17 00:00:00 2001 From: Nilay-squareup Date: Mon, 12 Aug 2024 18:50:08 +0530 Subject: [PATCH 7/8] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b5a162..09c0833 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ * Upgrade to Reader SDK 1.7.2 on iOS. -### v5.0.0 Aug 22st, 2023 +### v5.0.0 Aug 22, 2023 * Upgrade to Reader SDK 1.7.5 on Android. * Support CompileSDK and targetSDK 33 on Android From f09516a689dcaef67bd81cad3420b1624c595c55 Mon Sep 17 00:00:00 2001 From: Nilay-squareup Date: Mon, 12 Aug 2024 19:04:40 +0530 Subject: [PATCH 8/8] updated build gradle --- android/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 4bed614..0aea2d3 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -34,8 +34,8 @@ rootProject.allprojects { maven { url "https://sdk.squareup.com/android" credentials { - username "sq0idp-ZEe0gjVrSrPSE1YMM4T75A" - password "35mywk6inosfvr4zgudkmssu5tvtuiwnicjvc2vn7xwf7ujtd22q" + username "SQUARE_READER_SDK_APPLICATION_ID" + password "SQUARE_READER_SDK_REPOSITORY_PASSWORD" } } } @@ -72,6 +72,6 @@ dependencies { def readerSdkVersion = rootProject.hasProperty('readerSdkVersion') ? rootProject.readerSdkVersion : READER_SDK_VERSION def playServicesBaseVersion = rootProject.hasProperty('googlePlayServiceVersion') ? rootProject.googlePlayServiceVersion : DEFAULT_PLAY_SERVICES_BASE_VERSION implementation "com.google.android.gms:play-services-base:$playServicesBaseVersion" - api "com.squareup.sdk.reader:reader-sdk-sq0idp-ZEe0gjVrSrPSE1YMM4T75A:$readerSdkVersion" + api "com.squareup.sdk.reader:reader-$SQUARE_READER_SDK_APPLICATION_ID:$readerSdkVersion" runtimeOnly "com.squareup.sdk.reader:reader-sdk-internals:$readerSdkVersion" }