Skip to content
This repository was archived by the owner on Mar 19, 2026. It is now read-only.

Commit 40bfeb0

Browse files
committed
Select an image and proceed with registration processing
1 parent 7b9cf3b commit 40bfeb0

28 files changed

Lines changed: 344 additions & 266 deletions

android/CMakeLists.txt

Lines changed: 0 additions & 32 deletions
This file was deleted.

android/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,15 @@ android {
4444
minSdkVersion 24
4545
externalNativeBuild {
4646
cmake {
47-
// Enabling exception, RTTI and setting C++ standard version
4847
cppFlags '-frtti -fexceptions -std=c++11'
49-
50-
// Shared runtime for shared libraries
5148
arguments "-DANDROID_STL=c++_shared"
5249
}
5350
}
5451
}
5552

5653
externalNativeBuild {
5754
cmake {
58-
path "CMakeLists.txt"
55+
path "../ios/Classes/src/CMakeLists.txt"
5956
}
6057
}
6158

example/ios/Podfile

Lines changed: 5 additions & 2 deletions
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.0'
2+
platform :ios, '11.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
@@ -40,7 +40,10 @@ post_install do |installer|
4040
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
4141
'$(inherited)',
4242
## dart: PermissionGroup.camera
43-
'PERMISSION_CAMERA=1'
43+
'PERMISSION_CAMERA=1',
44+
'PERMISSION_MICROPHONE=1',
45+
'PERMISSION_MEDIA_LIBRARY=1',
46+
'PERMISSION_PHOTOS=1'
4447
]
4548
end
4649
flutter_additional_ios_build_settings(target)

example/ios/Podfile.lock

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
PODS:
2+
- camera_avfoundation (0.0.1):
3+
- Flutter
4+
- Flutter (1.0.0)
5+
- flutter_pixelmatching (0.0.1):
6+
- Flutter
7+
- image_picker_ios (0.0.1):
8+
- Flutter
9+
- permission_handler_apple (9.0.4):
10+
- Flutter
11+
12+
DEPENDENCIES:
13+
- camera_avfoundation (from `.symlinks/plugins/camera_avfoundation/ios`)
14+
- Flutter (from `Flutter`)
15+
- flutter_pixelmatching (from `.symlinks/plugins/flutter_pixelmatching/ios`)
16+
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
17+
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
18+
19+
EXTERNAL SOURCES:
20+
camera_avfoundation:
21+
:path: ".symlinks/plugins/camera_avfoundation/ios"
22+
Flutter:
23+
:path: Flutter
24+
flutter_pixelmatching:
25+
:path: ".symlinks/plugins/flutter_pixelmatching/ios"
26+
image_picker_ios:
27+
:path: ".symlinks/plugins/image_picker_ios/ios"
28+
permission_handler_apple:
29+
:path: ".symlinks/plugins/permission_handler_apple/ios"
30+
31+
SPEC CHECKSUMS:
32+
camera_avfoundation: 3125e8cd1a4387f6f31c6c63abb8a55892a9eeeb
33+
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
34+
flutter_pixelmatching: 2a4d63ed9ab14d987b1225fe6f929f07a247e5e3
35+
image_picker_ios: 4a8aadfbb6dc30ad5141a2ce3832af9214a705b5
36+
permission_handler_apple: 44366e37eaf29454a1e7b1b7d736c2cceaeb17ce
37+
38+
PODFILE CHECKSUM: f1a724e3adf5f72ec81bcddec1da31a89a260d42
39+
40+
COCOAPODS: 1.11.3

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
138551163A00043F5FF06C91 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 40F7AEA6C98C442F86FE97DD /* Pods_Runner.framework */; };
1011
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
1112
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
1213
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
@@ -32,6 +33,9 @@
3233
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
3334
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
3435
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
36+
40F7AEA6C98C442F86FE97DD /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
37+
5A00D6F0D14DBA0668EF3F12 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
38+
6806D89D3056F1A22807A8A0 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
3539
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
3640
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
3741
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
@@ -42,13 +46,15 @@
4246
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
4347
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
4448
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
49+
B3BB012C9728B2D2C3E5E6E6 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
4550
/* End PBXFileReference section */
4651

4752
/* Begin PBXFrameworksBuildPhase section */
4853
97C146EB1CF9000F007C117D /* Frameworks */ = {
4954
isa = PBXFrameworksBuildPhase;
5055
buildActionMask = 2147483647;
5156
files = (
57+
138551163A00043F5FF06C91 /* Pods_Runner.framework in Frameworks */,
5258
);
5359
runOnlyForDeploymentPostprocessing = 0;
5460
};
@@ -73,6 +79,7 @@
7379
97C146F01CF9000F007C117D /* Runner */,
7480
97C146EF1CF9000F007C117D /* Products */,
7581
EAE244DB9C7AEFDC08CBCE19 /* Pods */,
82+
D34E64F2155523C5A31400BF /* Frameworks */,
7683
);
7784
sourceTree = "<group>";
7885
};
@@ -99,9 +106,20 @@
99106
path = Runner;
100107
sourceTree = "<group>";
101108
};
109+
D34E64F2155523C5A31400BF /* Frameworks */ = {
110+
isa = PBXGroup;
111+
children = (
112+
40F7AEA6C98C442F86FE97DD /* Pods_Runner.framework */,
113+
);
114+
name = Frameworks;
115+
sourceTree = "<group>";
116+
};
102117
EAE244DB9C7AEFDC08CBCE19 /* Pods */ = {
103118
isa = PBXGroup;
104119
children = (
120+
5A00D6F0D14DBA0668EF3F12 /* Pods-Runner.debug.xcconfig */,
121+
6806D89D3056F1A22807A8A0 /* Pods-Runner.release.xcconfig */,
122+
B3BB012C9728B2D2C3E5E6E6 /* Pods-Runner.profile.xcconfig */,
105123
);
106124
path = Pods;
107125
sourceTree = "<group>";
@@ -113,12 +131,14 @@
113131
isa = PBXNativeTarget;
114132
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
115133
buildPhases = (
134+
9434F7559DFC3D66340B11BA /* [CP] Check Pods Manifest.lock */,
116135
9740EEB61CF901F6004384FC /* Run Script */,
117136
97C146EA1CF9000F007C117D /* Sources */,
118137
97C146EB1CF9000F007C117D /* Frameworks */,
119138
97C146EC1CF9000F007C117D /* Resources */,
120139
9705A1C41CF9048500538489 /* Embed Frameworks */,
121140
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
141+
301A10EEF015FE4A57B9F4CA /* [CP] Embed Pods Frameworks */,
122142
);
123143
buildRules = (
124144
);
@@ -177,6 +197,23 @@
177197
/* End PBXResourcesBuildPhase section */
178198

179199
/* Begin PBXShellScriptBuildPhase section */
200+
301A10EEF015FE4A57B9F4CA /* [CP] Embed Pods Frameworks */ = {
201+
isa = PBXShellScriptBuildPhase;
202+
buildActionMask = 2147483647;
203+
files = (
204+
);
205+
inputFileListPaths = (
206+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
207+
);
208+
name = "[CP] Embed Pods Frameworks";
209+
outputFileListPaths = (
210+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
211+
);
212+
runOnlyForDeploymentPostprocessing = 0;
213+
shellPath = /bin/sh;
214+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
215+
showEnvVarsInLog = 0;
216+
};
180217
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
181218
isa = PBXShellScriptBuildPhase;
182219
alwaysOutOfDate = 1;
@@ -193,6 +230,28 @@
193230
shellPath = /bin/sh;
194231
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin\n";
195232
};
233+
9434F7559DFC3D66340B11BA /* [CP] Check Pods Manifest.lock */ = {
234+
isa = PBXShellScriptBuildPhase;
235+
buildActionMask = 2147483647;
236+
files = (
237+
);
238+
inputFileListPaths = (
239+
);
240+
inputPaths = (
241+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
242+
"${PODS_ROOT}/Manifest.lock",
243+
);
244+
name = "[CP] Check Pods Manifest.lock";
245+
outputFileListPaths = (
246+
);
247+
outputPaths = (
248+
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
249+
);
250+
runOnlyForDeploymentPostprocessing = 0;
251+
shellPath = /bin/sh;
252+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
253+
showEnvVarsInLog = 0;
254+
};
196255
9740EEB61CF901F6004384FC /* Run Script */ = {
197256
isa = PBXShellScriptBuildPhase;
198257
alwaysOutOfDate = 1;

example/ios/Runner/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1515
<key>CFBundleInfoDictionaryVersion</key>
1616
<string>6.0</string>
17+
<key>NSPhotoLibraryUsageDescription</key>
18+
<string>에에에에에에</string>
1719
<key>CFBundleName</key>
1820
<string>flutter_pixelmatching_example</string>
1921
<key>CFBundlePackageType</key>

0 commit comments

Comments
 (0)