Skip to content

Commit 54812c9

Browse files
committed
update ios version and licence
1 parent f964159 commit 54812c9

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

BlinkCard/ios/blinkcard_flutter.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'blinkcard_flutter'
7-
s.version = '2.4.2'
7+
s.version = '2.6.0'
88
s.summary = 'Flutter plugin for BlinkCard, SDK for scanning and OCR of various credit cards.'
99
s.description = <<-DESC
1010
Flutter plugin for BlinkCard, SDK for scanning and OCR of various credit cards.
@@ -16,9 +16,9 @@ Flutter plugin for BlinkCard, SDK for scanning and OCR of various credit cards.
1616
s.source_files = 'Classes/**/*'
1717
s.public_header_files = 'Classes/**/*.h'
1818
s.dependency 'Flutter'
19-
s.platform = :ios, '9.0'
19+
s.platform = :ios, '12.0'
2020

21-
s.dependency 'MBBlinkCard', '~> 2.4.0'
21+
s.dependency 'MBBlinkCard', '~> 2.6.0'
2222

2323
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
2424
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }

BlinkCard/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ flutter:
3434
package: com.microblink.blinkcard.flutter
3535
pluginClass: MicroblinkFlutterPlugin
3636
ios:
37-
pluginClass: MicroblinkFlutterPlugin
37+
pluginClass: BlinkCardFlutterPlugin

initFlutterSample.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ popd
3232
# enter into ios project folder
3333
pushd ios
3434

35+
#Force minimal iOS version
36+
sed -i '' "s/# platform :ios, '9.0'/platform :ios, '12.0'/" Podfile
37+
3538
# install pod
3639
pod install
3740

sample_files/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class _MyAppState extends State<MyApp> {
2020
Future<void> scan() async {
2121
String license;
2222
if (Theme.of(context).platform == TargetPlatform.iOS) {
23-
license = "sRwAAAEVY29tLm1pY3JvYmxpbmsuc2FtcGxl1BIcP6dpSuS/37rVPvGgnEXtW6n0WYNXlN/0i1f88yoVpcC6wVI7C9/PwW96iHudfFxZtXdYuU3G3FGWKgCcqkSdZwRtiHrFeYz8beVEwPAGbLMPGidJ8qm5ZtgfLYHJ5NqR0qfIfqKTIDlsGzUY2D2qp3KUfYcscbf9JftuQdMpQ8VfQ8eu0+x1aUckcowsgAfq8/CTF3cpaSF1mBKMCO+idtTRWI8B52aZZDeybQ==";
23+
license = "sRwAAAEVY29tLm1pY3JvYmxpbmsuc2FtcGxl1BIcP6dpSuS/37rVPPmJM1WVgUPxJ6drb0RlV8e0cdQjsz2ti42it9NqPg8OAPX47u13pXjleAvZAuxN0Fr8kBeUjMM8y/GJ/4FRBIETzsuJKokzMn2HTkkeMXtep7afy/JHdc+8FKJdSEn0RJfEkxAVdvY0OV+Ozu2Zjca+ULM9jA23TXgGkRWicDTBuPbNzT2exFl7fHx6/olVSQ9zrAa/dMpIWjqfRyM22uSc5g==";
2424
} else if (Theme.of(context).platform == TargetPlatform.android) {
2525
license = "sRwAAAAVY29tLm1pY3JvYmxpbmsuc2FtcGxlU9kJdb5ZkGlTu623PARDZ2y3bw/2FMh5N8Ns88iVHtrPi9+/nWa1Jfjuaio9sNqvjMT6OtkQ6mJBjE58IcmwG5+mm6WUi+Jy6MYfmGIzIoMFQvkqfYUo2Q/WFqsbYjo57kuic4Q5BWQbqavo1wF7llPipW1ABXqrTLnoewhyHJrJCMyXSOvK6ensoeNbd2iJtgi2L6myHxmekGcmW2ZnKr9otoMUy0YqZ5AjqMxjDw==";
2626
} else {

0 commit comments

Comments
 (0)