Skip to content

Commit 3b34e78

Browse files
committed
Upgrade IOS version to 1.7.2
1. Upgrade IOS version to 1.7.2 2. Upgrade app plugin version
1 parent 7b1cd0a commit 3b34e78

7 files changed

Lines changed: 30 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Changelog
22

3+
### v6.0.0 Apr 22st, 2024
4+
5+
* Upgrade to Reader SDK 1.7.2 on iOS.
6+
37
### v5.0.0 Aug 22st, 2023
48

59
* Upgrade to Reader SDK 1.7.5 on Android.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ you invoke any of Reader plugin method.
3939
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

42-
* iOS: 1.6.0 and above
42+
* iOS: 1.7.2 and above
4343
* Android: 1.7.5 and above
4444

4545
Try the [sample app] to see the plugin in action or follow the instructions in

example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
platform :ios, '11.1'
2+
platform :ios, '14.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@
144144
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
145145
17130ABE28ACDC4A007FE54B /* Square setup script */,
146146
324E410A8DA310037B0B821B /* [CP] Embed Pods Frameworks */,
147+
CB238059B6C64501CA7FAC41 /* [CP] Copy Pods Resources */,
147148
);
148149
buildRules = (
149150
);
@@ -288,6 +289,23 @@
288289
shellPath = /bin/sh;
289290
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build\n";
290291
};
292+
CB238059B6C64501CA7FAC41 /* [CP] Copy Pods Resources */ = {
293+
isa = PBXShellScriptBuildPhase;
294+
buildActionMask = 2147483647;
295+
files = (
296+
);
297+
inputFileListPaths = (
298+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
299+
);
300+
name = "[CP] Copy Pods Resources";
301+
outputFileListPaths = (
302+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
303+
);
304+
runOnlyForDeploymentPostprocessing = 0;
305+
shellPath = /bin/sh;
306+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
307+
showEnvVarsInLog = 0;
308+
};
291309
/* End PBXShellScriptBuildPhase section */
292310

293311
/* Begin PBXSourcesBuildPhase section */

example/lib/screens/widgets/buttons.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,8 @@ class SQRaisedButton extends StatelessWidget {
128128
Widget build(BuildContext context) => ElevatedButton(
129129
child: Text(text),
130130
style: ElevatedButton.styleFrom(
131-
primary: Color.fromRGBO(57, 114, 178, 1.0),
131+
foregroundColor: Colors.white, backgroundColor: Color.fromRGBO(57, 114, 178, 1.0),
132132
padding: EdgeInsets.all(15.0),
133-
onPrimary: Colors.white,
134133
shape:
135134
RoundedRectangleBorder(borderRadius: BorderRadius.circular(8.0)),
136135
),

example/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ dependencies:
1616
flutter:
1717
sdk: flutter
1818

19-
permission_handler: ^9.2.0
20-
barcode_scan2: ^4.2.1
21-
intl: ^0.17.0
22-
firebase_core: ^1.20.1
19+
permission_handler: ^11.3.1
20+
barcode_scan2: ^4.3.0
21+
intl: ^0.19.0
22+
firebase_core: ^2.30.0
2323

2424
# The following adds the Cupertino Icons font to your application.
2525
# Use with the CupertinoIcons class for iOS style icons.

ios/square_reader_sdk.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
Pod::Spec.new do |s|
55
s.name = 'square_reader_sdk'
6-
s.version = '3.0.0'
6+
s.version = '1.7.2'
77
s.summary = 'iOS part of a flutter plugin for Square Reader SDK.'
88
s.description = <<-DESC
99
iOS part of a flutter plugin for Square Reader SDK.

0 commit comments

Comments
 (0)