@capacitor-community/camera-preview 7.0.2 → 7.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/CapacitorCommunityCameraPreview.podspec +1 -1
  2. package/Package.swift +28 -0
  3. package/README.md +4 -4
  4. package/android/src/main/java/com/ahm/capacitor/camera/preview/CameraActivity.java +136 -135
  5. package/android/src/main/java/com/ahm/capacitor/camera/preview/Preview.java +3 -3
  6. package/dist/esm/web.js.map +1 -1
  7. package/dist/plugin.cjs.js.map +1 -1
  8. package/dist/plugin.js.map +1 -1
  9. package/ios/{Plugin/Plugin.swift → Sources/CameraPreviewPlugin/CameraPreviewPlugin.swift} +49 -14
  10. package/ios/Tests/CameraPreviewPluginTests/CameraPreviewPluginTests.swift +5 -0
  11. package/package.json +37 -18
  12. package/android/.project +0 -17
  13. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  14. package/android/gradle/wrapper/gradle-wrapper.properties +0 -7
  15. package/android/gradle.properties +0 -18
  16. package/android/gradlew +0 -252
  17. package/android/gradlew.bat +0 -94
  18. package/android/proguard-rules.pro +0 -21
  19. package/android/settings.gradle +0 -2
  20. package/android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java +0 -26
  21. package/android/src/test/java/com/getcapacitor/ExampleUnitTest.java +0 -18
  22. package/ios/Plugin/Info.plist +0 -24
  23. package/ios/Plugin/Plugin.h +0 -10
  24. package/ios/Plugin/Plugin.m +0 -17
  25. package/ios/Plugin.xcodeproj/project.pbxproj +0 -597
  26. package/ios/Plugin.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  27. package/ios/Plugin.xcworkspace/contents.xcworkspacedata +0 -10
  28. package/ios/Plugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  29. package/ios/PluginTests/Info.plist +0 -22
  30. package/ios/PluginTests/PluginTests.swift +0 -6
  31. package/ios/Podfile +0 -16
  32. package/ios/Podfile.lock +0 -22
  33. /package/ios/{Plugin → Sources/CameraPreviewPlugin}/CameraController.swift +0 -0
@@ -1,18 +0,0 @@
1
- package com.getcapacitor;
2
-
3
- import static org.junit.Assert.*;
4
-
5
- import org.junit.Test;
6
-
7
- /**
8
- * Example local unit test, which will execute on the development machine (host).
9
- *
10
- * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
11
- */
12
- public class ExampleUnitTest {
13
-
14
- @Test
15
- public void addition_isCorrect() throws Exception {
16
- assertEquals(4, 2 + 2);
17
- }
18
- }
@@ -1,24 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleDevelopmentRegion</key>
6
- <string>$(DEVELOPMENT_LANGUAGE)</string>
7
- <key>CFBundleExecutable</key>
8
- <string>$(EXECUTABLE_NAME)</string>
9
- <key>CFBundleIdentifier</key>
10
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11
- <key>CFBundleInfoDictionaryVersion</key>
12
- <string>6.0</string>
13
- <key>CFBundleName</key>
14
- <string>$(PRODUCT_NAME)</string>
15
- <key>CFBundlePackageType</key>
16
- <string>FMWK</string>
17
- <key>CFBundleShortVersionString</key>
18
- <string>1.0</string>
19
- <key>CFBundleVersion</key>
20
- <string>$(CURRENT_PROJECT_VERSION)</string>
21
- <key>NSPrincipalClass</key>
22
- <string></string>
23
- </dict>
24
- </plist>
@@ -1,10 +0,0 @@
1
- #import <UIKit/UIKit.h>
2
-
3
- //! Project version number for Plugin.
4
- FOUNDATION_EXPORT double PluginVersionNumber;
5
-
6
- //! Project version string for Plugin.
7
- FOUNDATION_EXPORT const unsigned char PluginVersionString[];
8
-
9
- // In this header, you should import all the public headers of your framework using statements like #import <Plugin/PublicHeader.h>
10
-
@@ -1,17 +0,0 @@
1
- #import <Foundation/Foundation.h>
2
- #import <Capacitor/Capacitor.h>
3
-
4
- // Define the plugin using the CAP_PLUGIN Macro, and
5
- // each method the plugin supports using the CAP_PLUGIN_METHOD macro.
6
- CAP_PLUGIN(CameraPreview, "CameraPreview",
7
- CAP_PLUGIN_METHOD(start, CAPPluginReturnPromise);
8
- CAP_PLUGIN_METHOD(stop, CAPPluginReturnPromise);
9
- CAP_PLUGIN_METHOD(capture, CAPPluginReturnPromise);
10
- CAP_PLUGIN_METHOD(captureSample, CAPPluginReturnPromise);
11
- CAP_PLUGIN_METHOD(flip, CAPPluginReturnPromise);
12
- CAP_PLUGIN_METHOD(getSupportedFlashModes, CAPPluginReturnPromise);
13
- CAP_PLUGIN_METHOD(setFlashMode, CAPPluginReturnPromise);
14
- CAP_PLUGIN_METHOD(startRecordVideo, CAPPluginReturnPromise);
15
- CAP_PLUGIN_METHOD(stopRecordVideo, CAPPluginReturnPromise);
16
- CAP_PLUGIN_METHOD(isCameraStarted, CAPPluginReturnPromise);
17
- )
@@ -1,597 +0,0 @@
1
- // !$*UTF8*$!
2
- {
3
- archiveVersion = 1;
4
- classes = {
5
- };
6
- objectVersion = 48;
7
- objects = {
8
-
9
- /* Begin PBXBuildFile section */
10
- 03FC29A292ACC40490383A1F /* Pods_Plugin.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B2A61DA5A1F2DD4F959604D /* Pods_Plugin.framework */; };
11
- 20C0B05DCFC8E3958A738AF2 /* Pods_PluginTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F6753A823D3815DB436415E3 /* Pods_PluginTests.framework */; };
12
- 4C2070D222DA878E00D1AD33 /* ImageIO.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C2070D122DA878E00D1AD33 /* ImageIO.framework */; };
13
- 4C2070D422DA879E00D1AD33 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C2070D322DA879E00D1AD33 /* MobileCoreServices.framework */; };
14
- 4C2070D622DA87B100D1AD33 /* CoreImage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C2070D522DA87B100D1AD33 /* CoreImage.framework */; };
15
- 4C2070D822DA87C600D1AD33 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C2070D722DA87C500D1AD33 /* QuartzCore.framework */; };
16
- 4C2070DA22DA87CE00D1AD33 /* CoreVideo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C2070D922DA87CE00D1AD33 /* CoreVideo.framework */; };
17
- 4C2070E022DA87F500D1AD33 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C2070DF22DA87F500D1AD33 /* CoreGraphics.framework */; };
18
- 4C2070E222DA87FB00D1AD33 /* AssetsLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C2070E122DA87FB00D1AD33 /* AssetsLibrary.framework */; };
19
- 4C2070E422DA881600D1AD33 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C2070E322DA881600D1AD33 /* CoreLocation.framework */; };
20
- 4C2070F422DB860800D1AD33 /* CameraController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C2070F322DB860800D1AD33 /* CameraController.swift */; };
21
- 50ADFF92201F53D600D50D53 /* Plugin.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50ADFF88201F53D600D50D53 /* Plugin.framework */; };
22
- 50ADFF97201F53D600D50D53 /* PluginTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50ADFF96201F53D600D50D53 /* PluginTests.swift */; };
23
- 50ADFF99201F53D600D50D53 /* Plugin.h in Headers */ = {isa = PBXBuildFile; fileRef = 50ADFF8B201F53D600D50D53 /* Plugin.h */; settings = {ATTRIBUTES = (Public, ); }; };
24
- 50ADFFA42020D75100D50D53 /* Capacitor.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50ADFFA52020D75100D50D53 /* Capacitor.framework */; };
25
- 50ADFFA82020EE4F00D50D53 /* Plugin.m in Sources */ = {isa = PBXBuildFile; fileRef = 50ADFFA72020EE4F00D50D53 /* Plugin.m */; };
26
- 50E1A94820377CB70090CE1A /* Plugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50E1A94720377CB70090CE1A /* Plugin.swift */; };
27
- /* End PBXBuildFile section */
28
-
29
- /* Begin PBXContainerItemProxy section */
30
- 50ADFF93201F53D600D50D53 /* PBXContainerItemProxy */ = {
31
- isa = PBXContainerItemProxy;
32
- containerPortal = 50ADFF7F201F53D600D50D53 /* Project object */;
33
- proxyType = 1;
34
- remoteGlobalIDString = 50ADFF87201F53D600D50D53;
35
- remoteInfo = Plugin;
36
- };
37
- /* End PBXContainerItemProxy section */
38
-
39
- /* Begin PBXFileReference section */
40
- 3B2A61DA5A1F2DD4F959604D /* Pods_Plugin.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Plugin.framework; sourceTree = BUILT_PRODUCTS_DIR; };
41
- 4C2070D122DA878E00D1AD33 /* ImageIO.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ImageIO.framework; path = System/Library/Frameworks/ImageIO.framework; sourceTree = SDKROOT; };
42
- 4C2070D322DA879E00D1AD33 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
43
- 4C2070D522DA87B100D1AD33 /* CoreImage.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreImage.framework; path = System/Library/Frameworks/CoreImage.framework; sourceTree = SDKROOT; };
44
- 4C2070D722DA87C500D1AD33 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
45
- 4C2070D922DA87CE00D1AD33 /* CoreVideo.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreVideo.framework; path = System/Library/Frameworks/CoreVideo.framework; sourceTree = SDKROOT; };
46
- 4C2070DB22DA87D700D1AD33 /* GLKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLKit.framework; path = System/Library/Frameworks/GLKit.framework; sourceTree = SDKROOT; };
47
- 4C2070DD22DA87E700D1AD33 /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; };
48
- 4C2070DF22DA87F500D1AD33 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
49
- 4C2070E122DA87FB00D1AD33 /* AssetsLibrary.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AssetsLibrary.framework; path = System/Library/Frameworks/AssetsLibrary.framework; sourceTree = SDKROOT; };
50
- 4C2070E322DA881600D1AD33 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
51
- 4C2070F322DB860800D1AD33 /* CameraController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CameraController.swift; sourceTree = "<group>"; };
52
- 50ADFF88201F53D600D50D53 /* Plugin.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Plugin.framework; sourceTree = BUILT_PRODUCTS_DIR; };
53
- 50ADFF8B201F53D600D50D53 /* Plugin.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Plugin.h; sourceTree = "<group>"; };
54
- 50ADFF8C201F53D600D50D53 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
55
- 50ADFF91201F53D600D50D53 /* PluginTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PluginTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
56
- 50ADFF96201F53D600D50D53 /* PluginTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PluginTests.swift; sourceTree = "<group>"; };
57
- 50ADFF98201F53D600D50D53 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
58
- 50ADFFA52020D75100D50D53 /* Capacitor.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Capacitor.framework; sourceTree = BUILT_PRODUCTS_DIR; };
59
- 50ADFFA72020EE4F00D50D53 /* Plugin.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Plugin.m; sourceTree = "<group>"; };
60
- 50E1A94720377CB70090CE1A /* Plugin.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Plugin.swift; sourceTree = "<group>"; };
61
- 5E23F77F099397094342571A /* Pods-Plugin.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Plugin.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Plugin/Pods-Plugin.debug.xcconfig"; sourceTree = "<group>"; };
62
- 91781294A431A2A7CC6EB714 /* Pods-Plugin.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Plugin.release.xcconfig"; path = "Pods/Target Support Files/Pods-Plugin/Pods-Plugin.release.xcconfig"; sourceTree = "<group>"; };
63
- 96ED1B6440D6672E406C8D19 /* Pods-PluginTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PluginTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.debug.xcconfig"; sourceTree = "<group>"; };
64
- F65BB2953ECE002E1EF3E424 /* Pods-PluginTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PluginTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.release.xcconfig"; sourceTree = "<group>"; };
65
- F6753A823D3815DB436415E3 /* Pods_PluginTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PluginTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
66
- /* End PBXFileReference section */
67
-
68
- /* Begin PBXFrameworksBuildPhase section */
69
- 50ADFF84201F53D600D50D53 /* Frameworks */ = {
70
- isa = PBXFrameworksBuildPhase;
71
- buildActionMask = 2147483647;
72
- files = (
73
- 4C2070DA22DA87CE00D1AD33 /* CoreVideo.framework in Frameworks */,
74
- 4C2070D422DA879E00D1AD33 /* MobileCoreServices.framework in Frameworks */,
75
- 4C2070E422DA881600D1AD33 /* CoreLocation.framework in Frameworks */,
76
- 4C2070E222DA87FB00D1AD33 /* AssetsLibrary.framework in Frameworks */,
77
- 4C2070E022DA87F500D1AD33 /* CoreGraphics.framework in Frameworks */,
78
- 4C2070D822DA87C600D1AD33 /* QuartzCore.framework in Frameworks */,
79
- 4C2070D622DA87B100D1AD33 /* CoreImage.framework in Frameworks */,
80
- 4C2070D222DA878E00D1AD33 /* ImageIO.framework in Frameworks */,
81
- 50ADFFA42020D75100D50D53 /* Capacitor.framework in Frameworks */,
82
- 03FC29A292ACC40490383A1F /* Pods_Plugin.framework in Frameworks */,
83
- );
84
- runOnlyForDeploymentPostprocessing = 0;
85
- };
86
- 50ADFF8E201F53D600D50D53 /* Frameworks */ = {
87
- isa = PBXFrameworksBuildPhase;
88
- buildActionMask = 2147483647;
89
- files = (
90
- 50ADFF92201F53D600D50D53 /* Plugin.framework in Frameworks */,
91
- 20C0B05DCFC8E3958A738AF2 /* Pods_PluginTests.framework in Frameworks */,
92
- );
93
- runOnlyForDeploymentPostprocessing = 0;
94
- };
95
- /* End PBXFrameworksBuildPhase section */
96
-
97
- /* Begin PBXGroup section */
98
- 50ADFF7E201F53D600D50D53 = {
99
- isa = PBXGroup;
100
- children = (
101
- 50ADFF8A201F53D600D50D53 /* Plugin */,
102
- 50ADFF95201F53D600D50D53 /* PluginTests */,
103
- 50ADFF89201F53D600D50D53 /* Products */,
104
- 8C8E7744173064A9F6D438E3 /* Pods */,
105
- A797B9EFA3DCEFEA1FBB66A9 /* Frameworks */,
106
- );
107
- sourceTree = "<group>";
108
- };
109
- 50ADFF89201F53D600D50D53 /* Products */ = {
110
- isa = PBXGroup;
111
- children = (
112
- 50ADFF88201F53D600D50D53 /* Plugin.framework */,
113
- 50ADFF91201F53D600D50D53 /* PluginTests.xctest */,
114
- );
115
- name = Products;
116
- sourceTree = "<group>";
117
- };
118
- 50ADFF8A201F53D600D50D53 /* Plugin */ = {
119
- isa = PBXGroup;
120
- children = (
121
- 50E1A94720377CB70090CE1A /* Plugin.swift */,
122
- 50ADFF8B201F53D600D50D53 /* Plugin.h */,
123
- 50ADFFA72020EE4F00D50D53 /* Plugin.m */,
124
- 50ADFF8C201F53D600D50D53 /* Info.plist */,
125
- 4C2070F322DB860800D1AD33 /* CameraController.swift */,
126
- );
127
- path = Plugin;
128
- sourceTree = "<group>";
129
- };
130
- 50ADFF95201F53D600D50D53 /* PluginTests */ = {
131
- isa = PBXGroup;
132
- children = (
133
- 50ADFF96201F53D600D50D53 /* PluginTests.swift */,
134
- 50ADFF98201F53D600D50D53 /* Info.plist */,
135
- );
136
- path = PluginTests;
137
- sourceTree = "<group>";
138
- };
139
- 8C8E7744173064A9F6D438E3 /* Pods */ = {
140
- isa = PBXGroup;
141
- children = (
142
- 5E23F77F099397094342571A /* Pods-Plugin.debug.xcconfig */,
143
- 91781294A431A2A7CC6EB714 /* Pods-Plugin.release.xcconfig */,
144
- 96ED1B6440D6672E406C8D19 /* Pods-PluginTests.debug.xcconfig */,
145
- F65BB2953ECE002E1EF3E424 /* Pods-PluginTests.release.xcconfig */,
146
- );
147
- name = Pods;
148
- sourceTree = "<group>";
149
- };
150
- A797B9EFA3DCEFEA1FBB66A9 /* Frameworks */ = {
151
- isa = PBXGroup;
152
- children = (
153
- 4C2070E322DA881600D1AD33 /* CoreLocation.framework */,
154
- 4C2070E122DA87FB00D1AD33 /* AssetsLibrary.framework */,
155
- 4C2070DF22DA87F500D1AD33 /* CoreGraphics.framework */,
156
- 4C2070DD22DA87E700D1AD33 /* OpenGLES.framework */,
157
- 4C2070DB22DA87D700D1AD33 /* GLKit.framework */,
158
- 4C2070D922DA87CE00D1AD33 /* CoreVideo.framework */,
159
- 4C2070D722DA87C500D1AD33 /* QuartzCore.framework */,
160
- 4C2070D522DA87B100D1AD33 /* CoreImage.framework */,
161
- 4C2070D322DA879E00D1AD33 /* MobileCoreServices.framework */,
162
- 4C2070D122DA878E00D1AD33 /* ImageIO.framework */,
163
- 50ADFFA52020D75100D50D53 /* Capacitor.framework */,
164
- 3B2A61DA5A1F2DD4F959604D /* Pods_Plugin.framework */,
165
- F6753A823D3815DB436415E3 /* Pods_PluginTests.framework */,
166
- );
167
- name = Frameworks;
168
- sourceTree = "<group>";
169
- };
170
- /* End PBXGroup section */
171
-
172
- /* Begin PBXHeadersBuildPhase section */
173
- 50ADFF85201F53D600D50D53 /* Headers */ = {
174
- isa = PBXHeadersBuildPhase;
175
- buildActionMask = 2147483647;
176
- files = (
177
- 50ADFF99201F53D600D50D53 /* Plugin.h in Headers */,
178
- );
179
- runOnlyForDeploymentPostprocessing = 0;
180
- };
181
- /* End PBXHeadersBuildPhase section */
182
-
183
- /* Begin PBXNativeTarget section */
184
- 50ADFF87201F53D600D50D53 /* Plugin */ = {
185
- isa = PBXNativeTarget;
186
- buildConfigurationList = 50ADFF9C201F53D600D50D53 /* Build configuration list for PBXNativeTarget "Plugin" */;
187
- buildPhases = (
188
- AB5B3E54B4E897F32C2279DA /* [CP] Check Pods Manifest.lock */,
189
- 50ADFF83201F53D600D50D53 /* Sources */,
190
- 50ADFF84201F53D600D50D53 /* Frameworks */,
191
- 50ADFF85201F53D600D50D53 /* Headers */,
192
- 50ADFF86201F53D600D50D53 /* Resources */,
193
- );
194
- buildRules = (
195
- );
196
- dependencies = (
197
- );
198
- name = Plugin;
199
- productName = Plugin;
200
- productReference = 50ADFF88201F53D600D50D53 /* Plugin.framework */;
201
- productType = "com.apple.product-type.framework";
202
- };
203
- 50ADFF90201F53D600D50D53 /* PluginTests */ = {
204
- isa = PBXNativeTarget;
205
- buildConfigurationList = 50ADFF9F201F53D600D50D53 /* Build configuration list for PBXNativeTarget "PluginTests" */;
206
- buildPhases = (
207
- 0596884F929ED6F1DE134961 /* [CP] Check Pods Manifest.lock */,
208
- 50ADFF8D201F53D600D50D53 /* Sources */,
209
- 50ADFF8E201F53D600D50D53 /* Frameworks */,
210
- 50ADFF8F201F53D600D50D53 /* Resources */,
211
- CCA81D3B7E26D0D727D24C84 /* [CP] Embed Pods Frameworks */,
212
- );
213
- buildRules = (
214
- );
215
- dependencies = (
216
- 50ADFF94201F53D600D50D53 /* PBXTargetDependency */,
217
- );
218
- name = PluginTests;
219
- productName = PluginTests;
220
- productReference = 50ADFF91201F53D600D50D53 /* PluginTests.xctest */;
221
- productType = "com.apple.product-type.bundle.unit-test";
222
- };
223
- /* End PBXNativeTarget section */
224
-
225
- /* Begin PBXProject section */
226
- 50ADFF7F201F53D600D50D53 /* Project object */ = {
227
- isa = PBXProject;
228
- attributes = {
229
- LastSwiftUpdateCheck = 0920;
230
- LastUpgradeCheck = 0920;
231
- ORGANIZATIONNAME = "Max Lynch";
232
- TargetAttributes = {
233
- 50ADFF87201F53D600D50D53 = {
234
- CreatedOnToolsVersion = 9.2;
235
- LastSwiftMigration = 0920;
236
- ProvisioningStyle = Automatic;
237
- };
238
- 50ADFF90201F53D600D50D53 = {
239
- CreatedOnToolsVersion = 9.2;
240
- ProvisioningStyle = Automatic;
241
- };
242
- };
243
- };
244
- buildConfigurationList = 50ADFF82201F53D600D50D53 /* Build configuration list for PBXProject "Plugin" */;
245
- compatibilityVersion = "Xcode 8.0";
246
- developmentRegion = en;
247
- hasScannedForEncodings = 0;
248
- knownRegions = (
249
- en,
250
- );
251
- mainGroup = 50ADFF7E201F53D600D50D53;
252
- productRefGroup = 50ADFF89201F53D600D50D53 /* Products */;
253
- projectDirPath = "";
254
- projectRoot = "";
255
- targets = (
256
- 50ADFF87201F53D600D50D53 /* Plugin */,
257
- 50ADFF90201F53D600D50D53 /* PluginTests */,
258
- );
259
- };
260
- /* End PBXProject section */
261
-
262
- /* Begin PBXResourcesBuildPhase section */
263
- 50ADFF86201F53D600D50D53 /* Resources */ = {
264
- isa = PBXResourcesBuildPhase;
265
- buildActionMask = 2147483647;
266
- files = (
267
- );
268
- runOnlyForDeploymentPostprocessing = 0;
269
- };
270
- 50ADFF8F201F53D600D50D53 /* Resources */ = {
271
- isa = PBXResourcesBuildPhase;
272
- buildActionMask = 2147483647;
273
- files = (
274
- );
275
- runOnlyForDeploymentPostprocessing = 0;
276
- };
277
- /* End PBXResourcesBuildPhase section */
278
-
279
- /* Begin PBXShellScriptBuildPhase section */
280
- 0596884F929ED6F1DE134961 /* [CP] Check Pods Manifest.lock */ = {
281
- isa = PBXShellScriptBuildPhase;
282
- buildActionMask = 2147483647;
283
- files = (
284
- );
285
- inputPaths = (
286
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
287
- "${PODS_ROOT}/Manifest.lock",
288
- );
289
- name = "[CP] Check Pods Manifest.lock";
290
- outputPaths = (
291
- "$(DERIVED_FILE_DIR)/Pods-PluginTests-checkManifestLockResult.txt",
292
- );
293
- runOnlyForDeploymentPostprocessing = 0;
294
- shellPath = /bin/sh;
295
- 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";
296
- showEnvVarsInLog = 0;
297
- };
298
- AB5B3E54B4E897F32C2279DA /* [CP] Check Pods Manifest.lock */ = {
299
- isa = PBXShellScriptBuildPhase;
300
- buildActionMask = 2147483647;
301
- files = (
302
- );
303
- inputPaths = (
304
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
305
- "${PODS_ROOT}/Manifest.lock",
306
- );
307
- name = "[CP] Check Pods Manifest.lock";
308
- outputPaths = (
309
- "$(DERIVED_FILE_DIR)/Pods-Plugin-checkManifestLockResult.txt",
310
- );
311
- runOnlyForDeploymentPostprocessing = 0;
312
- shellPath = /bin/sh;
313
- 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";
314
- showEnvVarsInLog = 0;
315
- };
316
- CCA81D3B7E26D0D727D24C84 /* [CP] Embed Pods Frameworks */ = {
317
- isa = PBXShellScriptBuildPhase;
318
- buildActionMask = 2147483647;
319
- files = (
320
- );
321
- inputPaths = (
322
- "${PODS_ROOT}/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh",
323
- "${BUILT_PRODUCTS_DIR}/Capacitor/Capacitor.framework",
324
- "${BUILT_PRODUCTS_DIR}/CapacitorCordova/Cordova.framework",
325
- );
326
- name = "[CP] Embed Pods Frameworks";
327
- outputPaths = (
328
- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Capacitor.framework",
329
- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Cordova.framework",
330
- );
331
- runOnlyForDeploymentPostprocessing = 0;
332
- shellPath = /bin/sh;
333
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh\"\n";
334
- showEnvVarsInLog = 0;
335
- };
336
- /* End PBXShellScriptBuildPhase section */
337
-
338
- /* Begin PBXSourcesBuildPhase section */
339
- 50ADFF83201F53D600D50D53 /* Sources */ = {
340
- isa = PBXSourcesBuildPhase;
341
- buildActionMask = 2147483647;
342
- files = (
343
- 4C2070F422DB860800D1AD33 /* CameraController.swift in Sources */,
344
- 50E1A94820377CB70090CE1A /* Plugin.swift in Sources */,
345
- 50ADFFA82020EE4F00D50D53 /* Plugin.m in Sources */,
346
- );
347
- runOnlyForDeploymentPostprocessing = 0;
348
- };
349
- 50ADFF8D201F53D600D50D53 /* Sources */ = {
350
- isa = PBXSourcesBuildPhase;
351
- buildActionMask = 2147483647;
352
- files = (
353
- 50ADFF97201F53D600D50D53 /* PluginTests.swift in Sources */,
354
- );
355
- runOnlyForDeploymentPostprocessing = 0;
356
- };
357
- /* End PBXSourcesBuildPhase section */
358
-
359
- /* Begin PBXTargetDependency section */
360
- 50ADFF94201F53D600D50D53 /* PBXTargetDependency */ = {
361
- isa = PBXTargetDependency;
362
- target = 50ADFF87201F53D600D50D53 /* Plugin */;
363
- targetProxy = 50ADFF93201F53D600D50D53 /* PBXContainerItemProxy */;
364
- };
365
- /* End PBXTargetDependency section */
366
-
367
- /* Begin XCBuildConfiguration section */
368
- 50ADFF9A201F53D600D50D53 /* Debug */ = {
369
- isa = XCBuildConfiguration;
370
- buildSettings = {
371
- ALWAYS_SEARCH_USER_PATHS = NO;
372
- CLANG_ANALYZER_NONNULL = YES;
373
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
374
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
375
- CLANG_CXX_LIBRARY = "libc++";
376
- CLANG_ENABLE_MODULES = YES;
377
- CLANG_ENABLE_OBJC_ARC = YES;
378
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
379
- CLANG_WARN_BOOL_CONVERSION = YES;
380
- CLANG_WARN_COMMA = YES;
381
- CLANG_WARN_CONSTANT_CONVERSION = YES;
382
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
383
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
384
- CLANG_WARN_EMPTY_BODY = YES;
385
- CLANG_WARN_ENUM_CONVERSION = YES;
386
- CLANG_WARN_INFINITE_RECURSION = YES;
387
- CLANG_WARN_INT_CONVERSION = YES;
388
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
389
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
390
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
391
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
392
- CLANG_WARN_STRICT_PROTOTYPES = YES;
393
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
394
- CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
395
- CLANG_WARN_UNREACHABLE_CODE = YES;
396
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
397
- CODE_SIGN_IDENTITY = "iPhone Developer";
398
- COPY_PHASE_STRIP = NO;
399
- CURRENT_PROJECT_VERSION = 1;
400
- DEBUG_INFORMATION_FORMAT = dwarf;
401
- ENABLE_STRICT_OBJC_MSGSEND = YES;
402
- ENABLE_TESTABILITY = YES;
403
- GCC_C_LANGUAGE_STANDARD = gnu11;
404
- GCC_DYNAMIC_NO_PIC = NO;
405
- GCC_NO_COMMON_BLOCKS = YES;
406
- GCC_OPTIMIZATION_LEVEL = 0;
407
- GCC_PREPROCESSOR_DEFINITIONS = (
408
- "DEBUG=1",
409
- "$(inherited)",
410
- );
411
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
412
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
413
- GCC_WARN_UNDECLARED_SELECTOR = YES;
414
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
415
- GCC_WARN_UNUSED_FUNCTION = YES;
416
- GCC_WARN_UNUSED_VARIABLE = YES;
417
- IPHONEOS_DEPLOYMENT_TARGET = 14.0;
418
- MTL_ENABLE_DEBUG_INFO = YES;
419
- ONLY_ACTIVE_ARCH = YES;
420
- SDKROOT = iphoneos;
421
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
422
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
423
- SWIFT_VERSION = 5.0;
424
- VERSIONING_SYSTEM = "apple-generic";
425
- VERSION_INFO_PREFIX = "";
426
- };
427
- name = Debug;
428
- };
429
- 50ADFF9B201F53D600D50D53 /* Release */ = {
430
- isa = XCBuildConfiguration;
431
- buildSettings = {
432
- ALWAYS_SEARCH_USER_PATHS = NO;
433
- CLANG_ANALYZER_NONNULL = YES;
434
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
435
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
436
- CLANG_CXX_LIBRARY = "libc++";
437
- CLANG_ENABLE_MODULES = YES;
438
- CLANG_ENABLE_OBJC_ARC = YES;
439
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
440
- CLANG_WARN_BOOL_CONVERSION = YES;
441
- CLANG_WARN_COMMA = YES;
442
- CLANG_WARN_CONSTANT_CONVERSION = YES;
443
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
444
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
445
- CLANG_WARN_EMPTY_BODY = YES;
446
- CLANG_WARN_ENUM_CONVERSION = YES;
447
- CLANG_WARN_INFINITE_RECURSION = YES;
448
- CLANG_WARN_INT_CONVERSION = YES;
449
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
450
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
451
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
452
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
453
- CLANG_WARN_STRICT_PROTOTYPES = YES;
454
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
455
- CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
456
- CLANG_WARN_UNREACHABLE_CODE = YES;
457
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
458
- CODE_SIGN_IDENTITY = "iPhone Developer";
459
- COPY_PHASE_STRIP = NO;
460
- CURRENT_PROJECT_VERSION = 1;
461
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
462
- ENABLE_NS_ASSERTIONS = NO;
463
- ENABLE_STRICT_OBJC_MSGSEND = YES;
464
- GCC_C_LANGUAGE_STANDARD = gnu11;
465
- GCC_NO_COMMON_BLOCKS = YES;
466
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
467
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
468
- GCC_WARN_UNDECLARED_SELECTOR = YES;
469
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
470
- GCC_WARN_UNUSED_FUNCTION = YES;
471
- GCC_WARN_UNUSED_VARIABLE = YES;
472
- IPHONEOS_DEPLOYMENT_TARGET = 14.0;
473
- MTL_ENABLE_DEBUG_INFO = NO;
474
- SDKROOT = iphoneos;
475
- SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
476
- SWIFT_VERSION = 5.0;
477
- VALIDATE_PRODUCT = YES;
478
- VERSIONING_SYSTEM = "apple-generic";
479
- VERSION_INFO_PREFIX = "";
480
- };
481
- name = Release;
482
- };
483
- 50ADFF9D201F53D600D50D53 /* Debug */ = {
484
- isa = XCBuildConfiguration;
485
- baseConfigurationReference = 5E23F77F099397094342571A /* Pods-Plugin.debug.xcconfig */;
486
- buildSettings = {
487
- CLANG_ENABLE_MODULES = YES;
488
- CODE_SIGN_IDENTITY = "";
489
- CODE_SIGN_STYLE = Automatic;
490
- DEFINES_MODULE = YES;
491
- DYLIB_COMPATIBILITY_VERSION = 1;
492
- DYLIB_CURRENT_VERSION = 1;
493
- DYLIB_INSTALL_NAME_BASE = "@rpath";
494
- INFOPLIST_FILE = Plugin/Info.plist;
495
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
496
- IPHONEOS_DEPLOYMENT_TARGET = 14.0;
497
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks $(FRAMEWORK_SEARCH_PATHS)\n$(FRAMEWORK_SEARCH_PATHS)\n$(FRAMEWORK_SEARCH_PATHS)";
498
- ONLY_ACTIVE_ARCH = YES;
499
- PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.Plugin;
500
- PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
501
- SKIP_INSTALL = YES;
502
- SUPPORTS_MACCATALYST = NO;
503
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
504
- SWIFT_VERSION = 4.2;
505
- TARGETED_DEVICE_FAMILY = "1,2";
506
- };
507
- name = Debug;
508
- };
509
- 50ADFF9E201F53D600D50D53 /* Release */ = {
510
- isa = XCBuildConfiguration;
511
- baseConfigurationReference = 91781294A431A2A7CC6EB714 /* Pods-Plugin.release.xcconfig */;
512
- buildSettings = {
513
- CLANG_ENABLE_MODULES = YES;
514
- CODE_SIGN_IDENTITY = "";
515
- CODE_SIGN_STYLE = Automatic;
516
- DEFINES_MODULE = YES;
517
- DYLIB_COMPATIBILITY_VERSION = 1;
518
- DYLIB_CURRENT_VERSION = 1;
519
- DYLIB_INSTALL_NAME_BASE = "@rpath";
520
- INFOPLIST_FILE = Plugin/Info.plist;
521
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
522
- IPHONEOS_DEPLOYMENT_TARGET = 14.0;
523
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks $(FRAMEWORK_SEARCH_PATHS)";
524
- ONLY_ACTIVE_ARCH = NO;
525
- PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.Plugin;
526
- PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
527
- SKIP_INSTALL = YES;
528
- SUPPORTS_MACCATALYST = NO;
529
- SWIFT_VERSION = 4.2;
530
- TARGETED_DEVICE_FAMILY = "1,2";
531
- };
532
- name = Release;
533
- };
534
- 50ADFFA0201F53D600D50D53 /* Debug */ = {
535
- isa = XCBuildConfiguration;
536
- baseConfigurationReference = 96ED1B6440D6672E406C8D19 /* Pods-PluginTests.debug.xcconfig */;
537
- buildSettings = {
538
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
539
- CODE_SIGN_STYLE = Automatic;
540
- INFOPLIST_FILE = PluginTests/Info.plist;
541
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
542
- PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.PluginTests;
543
- PRODUCT_NAME = "$(TARGET_NAME)";
544
- SWIFT_VERSION = 4.0;
545
- TARGETED_DEVICE_FAMILY = "1,2";
546
- };
547
- name = Debug;
548
- };
549
- 50ADFFA1201F53D600D50D53 /* Release */ = {
550
- isa = XCBuildConfiguration;
551
- baseConfigurationReference = F65BB2953ECE002E1EF3E424 /* Pods-PluginTests.release.xcconfig */;
552
- buildSettings = {
553
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
554
- CODE_SIGN_STYLE = Automatic;
555
- INFOPLIST_FILE = PluginTests/Info.plist;
556
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
557
- PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.PluginTests;
558
- PRODUCT_NAME = "$(TARGET_NAME)";
559
- SWIFT_VERSION = 4.0;
560
- TARGETED_DEVICE_FAMILY = "1,2";
561
- };
562
- name = Release;
563
- };
564
- /* End XCBuildConfiguration section */
565
-
566
- /* Begin XCConfigurationList section */
567
- 50ADFF82201F53D600D50D53 /* Build configuration list for PBXProject "Plugin" */ = {
568
- isa = XCConfigurationList;
569
- buildConfigurations = (
570
- 50ADFF9A201F53D600D50D53 /* Debug */,
571
- 50ADFF9B201F53D600D50D53 /* Release */,
572
- );
573
- defaultConfigurationIsVisible = 0;
574
- defaultConfigurationName = Release;
575
- };
576
- 50ADFF9C201F53D600D50D53 /* Build configuration list for PBXNativeTarget "Plugin" */ = {
577
- isa = XCConfigurationList;
578
- buildConfigurations = (
579
- 50ADFF9D201F53D600D50D53 /* Debug */,
580
- 50ADFF9E201F53D600D50D53 /* Release */,
581
- );
582
- defaultConfigurationIsVisible = 0;
583
- defaultConfigurationName = Release;
584
- };
585
- 50ADFF9F201F53D600D50D53 /* Build configuration list for PBXNativeTarget "PluginTests" */ = {
586
- isa = XCConfigurationList;
587
- buildConfigurations = (
588
- 50ADFFA0201F53D600D50D53 /* Debug */,
589
- 50ADFFA1201F53D600D50D53 /* Release */,
590
- );
591
- defaultConfigurationIsVisible = 0;
592
- defaultConfigurationName = Release;
593
- };
594
- /* End XCConfigurationList section */
595
- };
596
- rootObject = 50ADFF7F201F53D600D50D53 /* Project object */;
597
- }