Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Navaron Bracke
2024-04-10 08:37:03 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5c9f0098a4f2b9a09a0cf7f2fa880a29e0ad19a1
5c9f0098
1 parent
2c9c59b9
bump iOS minimum to iOS 12
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
7 deletions
CHANGELOG.md
example/ios/Flutter/AppFrameworkInfo.plist
example/ios/Podfile
example/ios/Runner.xcodeproj/project.pbxproj
ios/mobile_scanner.podspec
CHANGELOG.md
View file @
5c9f009
...
...
@@ -3,6 +3,7 @@
**BREAKING CHANGES:**
*
Flutter 3.19.0 is now required.
*
[
iOS
]
iOS 12.0 is now the minimum supported iOS version.
Bugs fixed:
*
Fixed an issue where the camera preview and barcode scanner did not work the second time on web.
...
...
example/ios/Flutter/AppFrameworkInfo.plist
View file @
5c9f009
...
...
@@ -21,6 +21,6 @@
<key>
CFBundleVersion
</key>
<string>
1.0
</string>
<key>
MinimumOSVersion
</key>
<string>
1
1
.0
</string>
<string>
1
2
.0
</string>
</dict>
</plist>
...
...
example/ios/Podfile
View file @
5c9f009
# Uncomment this line to define a global platform for your project
# platform :ios, '1
1
.0'
# platform :ios, '1
2
.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV
[
'COCOAPODS_DISABLE_STATS'
]
=
'true'
...
...
@@ -41,7 +41,7 @@ post_install do |installer|
installer
.
pods_project
.
targets
.
each
do
|
target
|
flutter_additional_ios_build_settings
(
target
)
target
.
build_configurations
.
each
do
|
config
|
config
.
build_settings
[
'IPHONEOS_DEPLOYMENT_TARGET'
]
=
'1
1
.0'
config
.
build_settings
[
'IPHONEOS_DEPLOYMENT_TARGET'
]
=
'1
2
.0'
end
end
end
...
...
example/ios/Runner.xcodeproj/project.pbxproj
View file @
5c9f009
...
...
@@ -452,7 +452,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 1
1
.0;
IPHONEOS_DEPLOYMENT_TARGET = 1
2
.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
...
...
@@ -583,7 +583,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 1
1
.0;
IPHONEOS_DEPLOYMENT_TARGET = 1
2
.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
...
...
@@ -632,7 +632,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 1
1
.0;
IPHONEOS_DEPLOYMENT_TARGET = 1
2
.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
...
...
ios/mobile_scanner.podspec
View file @
5c9f009
...
...
@@ -16,7 +16,7 @@ An universal scanner for Flutter based on MLKit.
s
.
source_files
=
'Classes/**/*'
s
.
dependency
'Flutter'
s
.
dependency
'GoogleMLKit/BarcodeScanning'
,
'~> 4.0.0'
s
.
platform
=
:ios
,
'1
1
.0'
s
.
platform
=
:ios
,
'1
2
.0'
s
.
static_framework
=
true
# Flutter.framework does not contain a i386 slice.
s
.
pod_target_xcconfig
=
{
'DEFINES_MODULE'
=>
'YES'
,
'EXCLUDED_ARCHS[sdk=iphonesimulator*]'
=>
'i386'
}
...
...
Please
register
or
login
to post a comment