Skip to content

Commit

Permalink
update ios version and licence
Browse files Browse the repository at this point in the history
  • Loading branch information
tonikreso committed Jul 18, 2022
1 parent f964159 commit 54812c9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions BlinkCard/ios/blinkcard_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'blinkcard_flutter'
s.version = '2.4.2'
s.version = '2.6.0'
s.summary = 'Flutter plugin for BlinkCard, SDK for scanning and OCR of various credit cards.'
s.description = <<-DESC
Flutter plugin for BlinkCard, SDK for scanning and OCR of various credit cards.
Expand All @@ -16,9 +16,9 @@ Flutter plugin for BlinkCard, SDK for scanning and OCR of various credit cards.
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.platform = :ios, '9.0'
s.platform = :ios, '12.0'

s.dependency 'MBBlinkCard', '~> 2.4.0'
s.dependency 'MBBlinkCard', '~> 2.6.0'

# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
Expand Down
2 changes: 1 addition & 1 deletion BlinkCard/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ flutter:
package: com.microblink.blinkcard.flutter
pluginClass: MicroblinkFlutterPlugin
ios:
pluginClass: MicroblinkFlutterPlugin
pluginClass: BlinkCardFlutterPlugin
3 changes: 3 additions & 0 deletions initFlutterSample.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ popd
# enter into ios project folder
pushd ios

#Force minimal iOS version
sed -i '' "s/# platform :ios, '9.0'/platform :ios, '12.0'/" Podfile

# install pod
pod install

Expand Down
2 changes: 1 addition & 1 deletion sample_files/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class _MyAppState extends State<MyApp> {
Future<void> scan() async {
String license;
if (Theme.of(context).platform == TargetPlatform.iOS) {
license = "sRwAAAEVY29tLm1pY3JvYmxpbmsuc2FtcGxl1BIcP6dpSuS/37rVPvGgnEXtW6n0WYNXlN/0i1f88yoVpcC6wVI7C9/PwW96iHudfFxZtXdYuU3G3FGWKgCcqkSdZwRtiHrFeYz8beVEwPAGbLMPGidJ8qm5ZtgfLYHJ5NqR0qfIfqKTIDlsGzUY2D2qp3KUfYcscbf9JftuQdMpQ8VfQ8eu0+x1aUckcowsgAfq8/CTF3cpaSF1mBKMCO+idtTRWI8B52aZZDeybQ==";
license = "sRwAAAEVY29tLm1pY3JvYmxpbmsuc2FtcGxl1BIcP6dpSuS/37rVPPmJM1WVgUPxJ6drb0RlV8e0cdQjsz2ti42it9NqPg8OAPX47u13pXjleAvZAuxN0Fr8kBeUjMM8y/GJ/4FRBIETzsuJKokzMn2HTkkeMXtep7afy/JHdc+8FKJdSEn0RJfEkxAVdvY0OV+Ozu2Zjca+ULM9jA23TXgGkRWicDTBuPbNzT2exFl7fHx6/olVSQ9zrAa/dMpIWjqfRyM22uSc5g==";
} else if (Theme.of(context).platform == TargetPlatform.android) {
license = "sRwAAAAVY29tLm1pY3JvYmxpbmsuc2FtcGxlU9kJdb5ZkGlTu623PARDZ2y3bw/2FMh5N8Ns88iVHtrPi9+/nWa1Jfjuaio9sNqvjMT6OtkQ6mJBjE58IcmwG5+mm6WUi+Jy6MYfmGIzIoMFQvkqfYUo2Q/WFqsbYjo57kuic4Q5BWQbqavo1wF7llPipW1ABXqrTLnoewhyHJrJCMyXSOvK6ensoeNbd2iJtgi2L6myHxmekGcmW2ZnKr9otoMUy0YqZ5AjqMxjDw==";
} else {
Expand Down

0 comments on commit 54812c9

Please sign in to comment.