@capgo/capacitor-native-biometric 7.1.13 → 7.1.15

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 (35) hide show
  1. package/Package.swift +28 -0
  2. package/README.md +4 -0
  3. package/android/src/main/java/ee/forgr/biometric/AuthActivity.java +141 -166
  4. package/android/src/main/java/ee/forgr/biometric/NativeBiometric.java +351 -443
  5. package/dist/esm/index.d.ts +2 -2
  6. package/dist/esm/index.js +4 -4
  7. package/dist/esm/index.js.map +1 -1
  8. package/dist/esm/web.d.ts +2 -2
  9. package/dist/esm/web.js +10 -10
  10. package/dist/esm/web.js.map +1 -1
  11. package/dist/plugin.cjs.js +10 -10
  12. package/dist/plugin.cjs.js.map +1 -1
  13. package/dist/plugin.js +10 -10
  14. package/dist/plugin.js.map +1 -1
  15. package/ios/{Plugin/Plugin.swift → Sources/CapgoNativeBiometricPlugin/CapgoNativeBiometricPlugin.swift} +3 -3
  16. package/ios/Tests/CapgoNativeBiometricPluginTests/CapgoNativeBiometricPluginTests.swift +13 -0
  17. package/package.json +20 -19
  18. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  19. package/android/gradle/wrapper/gradle-wrapper.properties +0 -7
  20. package/android/gradle.properties +0 -20
  21. package/android/gradlew +0 -252
  22. package/android/gradlew.bat +0 -94
  23. package/android/proguard-rules.pro +0 -21
  24. package/android/settings.gradle +0 -2
  25. package/android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java +0 -27
  26. package/android/src/test/java/com/getcapacitor/ExampleUnitTest.java +0 -18
  27. package/ios/Plugin/Info.plist +0 -24
  28. package/ios/Plugin.xcodeproj/project.pbxproj +0 -546
  29. package/ios/Plugin.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  30. package/ios/Plugin.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  31. package/ios/Plugin.xcworkspace/contents.xcworkspacedata +0 -10
  32. package/ios/Plugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  33. package/ios/PluginTests/Info.plist +0 -22
  34. package/ios/PluginTests/PluginTests.swift +0 -25
  35. package/ios/Podfile +0 -16
@@ -1,546 +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
- 50ADFF92201F53D600D50D53 /* Plugin.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50ADFF88201F53D600D50D53 /* Plugin.framework */; };
13
- 50ADFF97201F53D600D50D53 /* PluginTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50ADFF96201F53D600D50D53 /* PluginTests.swift */; };
14
- 50ADFFA42020D75100D50D53 /* Capacitor.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50ADFFA52020D75100D50D53 /* Capacitor.framework */; };
15
- 50E1A94820377CB70090CE1A /* Plugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50E1A94720377CB70090CE1A /* Plugin.swift */; };
16
- /* End PBXBuildFile section */
17
-
18
- /* Begin PBXContainerItemProxy section */
19
- 50ADFF93201F53D600D50D53 /* PBXContainerItemProxy */ = {
20
- isa = PBXContainerItemProxy;
21
- containerPortal = 50ADFF7F201F53D600D50D53 /* Project object */;
22
- proxyType = 1;
23
- remoteGlobalIDString = 50ADFF87201F53D600D50D53;
24
- remoteInfo = Plugin;
25
- };
26
- /* End PBXContainerItemProxy section */
27
-
28
- /* Begin PBXFileReference section */
29
- 3B2A61DA5A1F2DD4F959604D /* Pods_Plugin.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Plugin.framework; sourceTree = BUILT_PRODUCTS_DIR; };
30
- 50ADFF88201F53D600D50D53 /* Plugin.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Plugin.framework; sourceTree = BUILT_PRODUCTS_DIR; };
31
- 50ADFF8C201F53D600D50D53 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
32
- 50ADFF91201F53D600D50D53 /* PluginTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PluginTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
33
- 50ADFF96201F53D600D50D53 /* PluginTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PluginTests.swift; sourceTree = "<group>"; };
34
- 50ADFF98201F53D600D50D53 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
35
- 50ADFFA52020D75100D50D53 /* Capacitor.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Capacitor.framework; sourceTree = BUILT_PRODUCTS_DIR; };
36
- 50E1A94720377CB70090CE1A /* Plugin.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Plugin.swift; sourceTree = "<group>"; };
37
- 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>"; };
38
- 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>"; };
39
- 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>"; };
40
- 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>"; };
41
- F6753A823D3815DB436415E3 /* Pods_PluginTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PluginTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
42
- /* End PBXFileReference section */
43
-
44
- /* Begin PBXFrameworksBuildPhase section */
45
- 50ADFF84201F53D600D50D53 /* Frameworks */ = {
46
- isa = PBXFrameworksBuildPhase;
47
- buildActionMask = 2147483647;
48
- files = (
49
- 50ADFFA42020D75100D50D53 /* Capacitor.framework in Frameworks */,
50
- 03FC29A292ACC40490383A1F /* Pods_Plugin.framework in Frameworks */,
51
- );
52
- runOnlyForDeploymentPostprocessing = 0;
53
- };
54
- 50ADFF8E201F53D600D50D53 /* Frameworks */ = {
55
- isa = PBXFrameworksBuildPhase;
56
- buildActionMask = 2147483647;
57
- files = (
58
- 50ADFF92201F53D600D50D53 /* Plugin.framework in Frameworks */,
59
- 20C0B05DCFC8E3958A738AF2 /* Pods_PluginTests.framework in Frameworks */,
60
- );
61
- runOnlyForDeploymentPostprocessing = 0;
62
- };
63
- /* End PBXFrameworksBuildPhase section */
64
-
65
- /* Begin PBXGroup section */
66
- 50ADFF7E201F53D600D50D53 = {
67
- isa = PBXGroup;
68
- children = (
69
- 50ADFF8A201F53D600D50D53 /* Plugin */,
70
- 50ADFF95201F53D600D50D53 /* PluginTests */,
71
- 50ADFF89201F53D600D50D53 /* Products */,
72
- 8C8E7744173064A9F6D438E3 /* Pods */,
73
- A797B9EFA3DCEFEA1FBB66A9 /* Frameworks */,
74
- );
75
- sourceTree = "<group>";
76
- };
77
- 50ADFF89201F53D600D50D53 /* Products */ = {
78
- isa = PBXGroup;
79
- children = (
80
- 50ADFF88201F53D600D50D53 /* Plugin.framework */,
81
- 50ADFF91201F53D600D50D53 /* PluginTests.xctest */,
82
- );
83
- name = Products;
84
- sourceTree = "<group>";
85
- };
86
- 50ADFF8A201F53D600D50D53 /* Plugin */ = {
87
- isa = PBXGroup;
88
- children = (
89
- 50E1A94720377CB70090CE1A /* Plugin.swift */,
90
- 50ADFF8C201F53D600D50D53 /* Info.plist */,
91
- );
92
- path = Plugin;
93
- sourceTree = "<group>";
94
- };
95
- 50ADFF95201F53D600D50D53 /* PluginTests */ = {
96
- isa = PBXGroup;
97
- children = (
98
- 50ADFF96201F53D600D50D53 /* PluginTests.swift */,
99
- 50ADFF98201F53D600D50D53 /* Info.plist */,
100
- );
101
- path = PluginTests;
102
- sourceTree = "<group>";
103
- };
104
- 8C8E7744173064A9F6D438E3 /* Pods */ = {
105
- isa = PBXGroup;
106
- children = (
107
- 5E23F77F099397094342571A /* Pods-Plugin.debug.xcconfig */,
108
- 91781294A431A2A7CC6EB714 /* Pods-Plugin.release.xcconfig */,
109
- 96ED1B6440D6672E406C8D19 /* Pods-PluginTests.debug.xcconfig */,
110
- F65BB2953ECE002E1EF3E424 /* Pods-PluginTests.release.xcconfig */,
111
- );
112
- name = Pods;
113
- sourceTree = "<group>";
114
- };
115
- A797B9EFA3DCEFEA1FBB66A9 /* Frameworks */ = {
116
- isa = PBXGroup;
117
- children = (
118
- 50ADFFA52020D75100D50D53 /* Capacitor.framework */,
119
- 3B2A61DA5A1F2DD4F959604D /* Pods_Plugin.framework */,
120
- F6753A823D3815DB436415E3 /* Pods_PluginTests.framework */,
121
- );
122
- name = Frameworks;
123
- sourceTree = "<group>";
124
- };
125
- /* End PBXGroup section */
126
-
127
- /* Begin PBXHeadersBuildPhase section */
128
- 50ADFF85201F53D600D50D53 /* Headers */ = {
129
- isa = PBXHeadersBuildPhase;
130
- buildActionMask = 2147483647;
131
- files = (
132
- );
133
- runOnlyForDeploymentPostprocessing = 0;
134
- };
135
- /* End PBXHeadersBuildPhase section */
136
-
137
- /* Begin PBXNativeTarget section */
138
- 50ADFF87201F53D600D50D53 /* Plugin */ = {
139
- isa = PBXNativeTarget;
140
- buildConfigurationList = 50ADFF9C201F53D600D50D53 /* Build configuration list for PBXNativeTarget "Plugin" */;
141
- buildPhases = (
142
- AB5B3E54B4E897F32C2279DA /* [CP] Check Pods Manifest.lock */,
143
- 50ADFF83201F53D600D50D53 /* Sources */,
144
- 50ADFF84201F53D600D50D53 /* Frameworks */,
145
- 50ADFF85201F53D600D50D53 /* Headers */,
146
- 50ADFF86201F53D600D50D53 /* Resources */,
147
- );
148
- buildRules = (
149
- );
150
- dependencies = (
151
- );
152
- name = Plugin;
153
- productName = Plugin;
154
- productReference = 50ADFF88201F53D600D50D53 /* Plugin.framework */;
155
- productType = "com.apple.product-type.framework";
156
- };
157
- 50ADFF90201F53D600D50D53 /* PluginTests */ = {
158
- isa = PBXNativeTarget;
159
- buildConfigurationList = 50ADFF9F201F53D600D50D53 /* Build configuration list for PBXNativeTarget "PluginTests" */;
160
- buildPhases = (
161
- 0596884F929ED6F1DE134961 /* [CP] Check Pods Manifest.lock */,
162
- 50ADFF8D201F53D600D50D53 /* Sources */,
163
- 50ADFF8E201F53D600D50D53 /* Frameworks */,
164
- 50ADFF8F201F53D600D50D53 /* Resources */,
165
- CCA81D3B7E26D0D727D24C84 /* [CP] Embed Pods Frameworks */,
166
- );
167
- buildRules = (
168
- );
169
- dependencies = (
170
- 50ADFF94201F53D600D50D53 /* PBXTargetDependency */,
171
- );
172
- name = PluginTests;
173
- productName = PluginTests;
174
- productReference = 50ADFF91201F53D600D50D53 /* PluginTests.xctest */;
175
- productType = "com.apple.product-type.bundle.unit-test";
176
- };
177
- /* End PBXNativeTarget section */
178
-
179
- /* Begin PBXProject section */
180
- 50ADFF7F201F53D600D50D53 /* Project object */ = {
181
- isa = PBXProject;
182
- attributes = {
183
- LastSwiftUpdateCheck = 0920;
184
- LastUpgradeCheck = 0920;
185
- ORGANIZATIONNAME = "Max Lynch";
186
- TargetAttributes = {
187
- 50ADFF87201F53D600D50D53 = {
188
- CreatedOnToolsVersion = 9.2;
189
- LastSwiftMigration = 1100;
190
- ProvisioningStyle = Automatic;
191
- };
192
- 50ADFF90201F53D600D50D53 = {
193
- CreatedOnToolsVersion = 9.2;
194
- LastSwiftMigration = 1100;
195
- ProvisioningStyle = Automatic;
196
- };
197
- };
198
- };
199
- buildConfigurationList = 50ADFF82201F53D600D50D53 /* Build configuration list for PBXProject "Plugin" */;
200
- compatibilityVersion = "Xcode 8.0";
201
- developmentRegion = en;
202
- hasScannedForEncodings = 0;
203
- knownRegions = (
204
- en,
205
- );
206
- mainGroup = 50ADFF7E201F53D600D50D53;
207
- productRefGroup = 50ADFF89201F53D600D50D53 /* Products */;
208
- projectDirPath = "";
209
- projectRoot = "";
210
- targets = (
211
- 50ADFF87201F53D600D50D53 /* Plugin */,
212
- 50ADFF90201F53D600D50D53 /* PluginTests */,
213
- );
214
- };
215
- /* End PBXProject section */
216
-
217
- /* Begin PBXResourcesBuildPhase section */
218
- 50ADFF86201F53D600D50D53 /* Resources */ = {
219
- isa = PBXResourcesBuildPhase;
220
- buildActionMask = 2147483647;
221
- files = (
222
- );
223
- runOnlyForDeploymentPostprocessing = 0;
224
- };
225
- 50ADFF8F201F53D600D50D53 /* Resources */ = {
226
- isa = PBXResourcesBuildPhase;
227
- buildActionMask = 2147483647;
228
- files = (
229
- );
230
- runOnlyForDeploymentPostprocessing = 0;
231
- };
232
- /* End PBXResourcesBuildPhase section */
233
-
234
- /* Begin PBXShellScriptBuildPhase section */
235
- 0596884F929ED6F1DE134961 /* [CP] Check Pods Manifest.lock */ = {
236
- isa = PBXShellScriptBuildPhase;
237
- buildActionMask = 2147483647;
238
- files = (
239
- );
240
- inputPaths = (
241
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
242
- "${PODS_ROOT}/Manifest.lock",
243
- );
244
- name = "[CP] Check Pods Manifest.lock";
245
- outputPaths = (
246
- "$(DERIVED_FILE_DIR)/Pods-PluginTests-checkManifestLockResult.txt",
247
- );
248
- runOnlyForDeploymentPostprocessing = 0;
249
- shellPath = /bin/sh;
250
- 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";
251
- showEnvVarsInLog = 0;
252
- };
253
- AB5B3E54B4E897F32C2279DA /* [CP] Check Pods Manifest.lock */ = {
254
- isa = PBXShellScriptBuildPhase;
255
- buildActionMask = 2147483647;
256
- files = (
257
- );
258
- inputPaths = (
259
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
260
- "${PODS_ROOT}/Manifest.lock",
261
- );
262
- name = "[CP] Check Pods Manifest.lock";
263
- outputPaths = (
264
- "$(DERIVED_FILE_DIR)/Pods-Plugin-checkManifestLockResult.txt",
265
- );
266
- runOnlyForDeploymentPostprocessing = 0;
267
- shellPath = /bin/sh;
268
- 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";
269
- showEnvVarsInLog = 0;
270
- };
271
- CCA81D3B7E26D0D727D24C84 /* [CP] Embed Pods Frameworks */ = {
272
- isa = PBXShellScriptBuildPhase;
273
- buildActionMask = 2147483647;
274
- files = (
275
- );
276
- inputPaths = (
277
- "${PODS_ROOT}/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh",
278
- "${BUILT_PRODUCTS_DIR}/Capacitor/Capacitor.framework",
279
- "${BUILT_PRODUCTS_DIR}/CapacitorCordova/Cordova.framework",
280
- );
281
- name = "[CP] Embed Pods Frameworks";
282
- outputPaths = (
283
- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Capacitor.framework",
284
- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Cordova.framework",
285
- );
286
- runOnlyForDeploymentPostprocessing = 0;
287
- shellPath = /bin/sh;
288
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh\"\n";
289
- showEnvVarsInLog = 0;
290
- };
291
- /* End PBXShellScriptBuildPhase section */
292
-
293
- /* Begin PBXSourcesBuildPhase section */
294
- 50ADFF83201F53D600D50D53 /* Sources */ = {
295
- isa = PBXSourcesBuildPhase;
296
- buildActionMask = 2147483647;
297
- files = (
298
- 50E1A94820377CB70090CE1A /* Plugin.swift in Sources */,
299
- );
300
- runOnlyForDeploymentPostprocessing = 0;
301
- };
302
- 50ADFF8D201F53D600D50D53 /* Sources */ = {
303
- isa = PBXSourcesBuildPhase;
304
- buildActionMask = 2147483647;
305
- files = (
306
- 50ADFF97201F53D600D50D53 /* PluginTests.swift in Sources */,
307
- );
308
- runOnlyForDeploymentPostprocessing = 0;
309
- };
310
- /* End PBXSourcesBuildPhase section */
311
-
312
- /* Begin PBXTargetDependency section */
313
- 50ADFF94201F53D600D50D53 /* PBXTargetDependency */ = {
314
- isa = PBXTargetDependency;
315
- target = 50ADFF87201F53D600D50D53 /* Plugin */;
316
- targetProxy = 50ADFF93201F53D600D50D53 /* PBXContainerItemProxy */;
317
- };
318
- /* End PBXTargetDependency section */
319
-
320
- /* Begin XCBuildConfiguration section */
321
- 50ADFF9A201F53D600D50D53 /* Debug */ = {
322
- isa = XCBuildConfiguration;
323
- buildSettings = {
324
- ALWAYS_SEARCH_USER_PATHS = NO;
325
- CLANG_ANALYZER_NONNULL = YES;
326
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
327
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
328
- CLANG_CXX_LIBRARY = "libc++";
329
- CLANG_ENABLE_MODULES = YES;
330
- CLANG_ENABLE_OBJC_ARC = YES;
331
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
332
- CLANG_WARN_BOOL_CONVERSION = YES;
333
- CLANG_WARN_COMMA = YES;
334
- CLANG_WARN_CONSTANT_CONVERSION = YES;
335
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
336
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
337
- CLANG_WARN_EMPTY_BODY = YES;
338
- CLANG_WARN_ENUM_CONVERSION = YES;
339
- CLANG_WARN_INFINITE_RECURSION = YES;
340
- CLANG_WARN_INT_CONVERSION = YES;
341
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
342
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
343
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
344
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
345
- CLANG_WARN_STRICT_PROTOTYPES = YES;
346
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
347
- CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
348
- CLANG_WARN_UNREACHABLE_CODE = YES;
349
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
350
- CODE_SIGN_IDENTITY = "iPhone Developer";
351
- COPY_PHASE_STRIP = NO;
352
- CURRENT_PROJECT_VERSION = 1;
353
- DEBUG_INFORMATION_FORMAT = dwarf;
354
- ENABLE_STRICT_OBJC_MSGSEND = YES;
355
- ENABLE_TESTABILITY = YES;
356
- GCC_C_LANGUAGE_STANDARD = gnu11;
357
- GCC_DYNAMIC_NO_PIC = NO;
358
- GCC_NO_COMMON_BLOCKS = YES;
359
- GCC_OPTIMIZATION_LEVEL = 0;
360
- GCC_PREPROCESSOR_DEFINITIONS = (
361
- "DEBUG=1",
362
- "$(inherited)",
363
- );
364
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
365
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
366
- GCC_WARN_UNDECLARED_SELECTOR = YES;
367
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
368
- GCC_WARN_UNUSED_FUNCTION = YES;
369
- GCC_WARN_UNUSED_VARIABLE = YES;
370
- IPHONEOS_DEPLOYMENT_TARGET = 14.0;
371
- MTL_ENABLE_DEBUG_INFO = YES;
372
- ONLY_ACTIVE_ARCH = YES;
373
- SDKROOT = iphoneos;
374
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
375
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
376
- VERSIONING_SYSTEM = "apple-generic";
377
- VERSION_INFO_PREFIX = "";
378
- };
379
- name = Debug;
380
- };
381
- 50ADFF9B201F53D600D50D53 /* Release */ = {
382
- isa = XCBuildConfiguration;
383
- buildSettings = {
384
- ALWAYS_SEARCH_USER_PATHS = NO;
385
- CLANG_ANALYZER_NONNULL = YES;
386
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
387
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
388
- CLANG_CXX_LIBRARY = "libc++";
389
- CLANG_ENABLE_MODULES = YES;
390
- CLANG_ENABLE_OBJC_ARC = YES;
391
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
392
- CLANG_WARN_BOOL_CONVERSION = YES;
393
- CLANG_WARN_COMMA = YES;
394
- CLANG_WARN_CONSTANT_CONVERSION = YES;
395
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
396
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
397
- CLANG_WARN_EMPTY_BODY = YES;
398
- CLANG_WARN_ENUM_CONVERSION = YES;
399
- CLANG_WARN_INFINITE_RECURSION = YES;
400
- CLANG_WARN_INT_CONVERSION = YES;
401
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
402
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
403
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
404
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
405
- CLANG_WARN_STRICT_PROTOTYPES = YES;
406
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
407
- CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
408
- CLANG_WARN_UNREACHABLE_CODE = YES;
409
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
410
- CODE_SIGN_IDENTITY = "iPhone Developer";
411
- COPY_PHASE_STRIP = NO;
412
- CURRENT_PROJECT_VERSION = 1;
413
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
414
- ENABLE_NS_ASSERTIONS = NO;
415
- ENABLE_STRICT_OBJC_MSGSEND = YES;
416
- GCC_C_LANGUAGE_STANDARD = gnu11;
417
- GCC_NO_COMMON_BLOCKS = YES;
418
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
419
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
420
- GCC_WARN_UNDECLARED_SELECTOR = YES;
421
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
422
- GCC_WARN_UNUSED_FUNCTION = YES;
423
- GCC_WARN_UNUSED_VARIABLE = YES;
424
- IPHONEOS_DEPLOYMENT_TARGET = 14.0;
425
- MTL_ENABLE_DEBUG_INFO = NO;
426
- SDKROOT = iphoneos;
427
- SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
428
- VALIDATE_PRODUCT = YES;
429
- VERSIONING_SYSTEM = "apple-generic";
430
- VERSION_INFO_PREFIX = "";
431
- };
432
- name = Release;
433
- };
434
- 50ADFF9D201F53D600D50D53 /* Debug */ = {
435
- isa = XCBuildConfiguration;
436
- baseConfigurationReference = 5E23F77F099397094342571A /* Pods-Plugin.debug.xcconfig */;
437
- buildSettings = {
438
- CLANG_ENABLE_MODULES = YES;
439
- CODE_SIGN_IDENTITY = "";
440
- CODE_SIGN_STYLE = Automatic;
441
- DEFINES_MODULE = YES;
442
- DYLIB_COMPATIBILITY_VERSION = 1;
443
- DYLIB_CURRENT_VERSION = 1;
444
- DYLIB_INSTALL_NAME_BASE = "@rpath";
445
- INFOPLIST_FILE = Plugin/Info.plist;
446
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
447
- IPHONEOS_DEPLOYMENT_TARGET = 14.0;
448
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks $(FRAMEWORK_SEARCH_PATHS)\n$(FRAMEWORK_SEARCH_PATHS)\n$(FRAMEWORK_SEARCH_PATHS)";
449
- ONLY_ACTIVE_ARCH = YES;
450
- PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.Plugin;
451
- PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
452
- SKIP_INSTALL = YES;
453
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
454
- SWIFT_VERSION = 5.0;
455
- TARGETED_DEVICE_FAMILY = "1,2";
456
- };
457
- name = Debug;
458
- };
459
- 50ADFF9E201F53D600D50D53 /* Release */ = {
460
- isa = XCBuildConfiguration;
461
- baseConfigurationReference = 91781294A431A2A7CC6EB714 /* Pods-Plugin.release.xcconfig */;
462
- buildSettings = {
463
- CLANG_ENABLE_MODULES = YES;
464
- CODE_SIGN_IDENTITY = "";
465
- CODE_SIGN_STYLE = Automatic;
466
- DEFINES_MODULE = YES;
467
- DYLIB_COMPATIBILITY_VERSION = 1;
468
- DYLIB_CURRENT_VERSION = 1;
469
- DYLIB_INSTALL_NAME_BASE = "@rpath";
470
- INFOPLIST_FILE = Plugin/Info.plist;
471
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
472
- IPHONEOS_DEPLOYMENT_TARGET = 14.0;
473
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks $(FRAMEWORK_SEARCH_PATHS)";
474
- ONLY_ACTIVE_ARCH = NO;
475
- PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.Plugin;
476
- PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
477
- SKIP_INSTALL = YES;
478
- SWIFT_VERSION = 5.0;
479
- TARGETED_DEVICE_FAMILY = "1,2";
480
- };
481
- name = Release;
482
- };
483
- 50ADFFA0201F53D600D50D53 /* Debug */ = {
484
- isa = XCBuildConfiguration;
485
- baseConfigurationReference = 96ED1B6440D6672E406C8D19 /* Pods-PluginTests.debug.xcconfig */;
486
- buildSettings = {
487
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
488
- CODE_SIGN_STYLE = Automatic;
489
- INFOPLIST_FILE = PluginTests/Info.plist;
490
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
491
- PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.PluginTests;
492
- PRODUCT_NAME = "$(TARGET_NAME)";
493
- SWIFT_VERSION = 5.0;
494
- TARGETED_DEVICE_FAMILY = "1,2";
495
- };
496
- name = Debug;
497
- };
498
- 50ADFFA1201F53D600D50D53 /* Release */ = {
499
- isa = XCBuildConfiguration;
500
- baseConfigurationReference = F65BB2953ECE002E1EF3E424 /* Pods-PluginTests.release.xcconfig */;
501
- buildSettings = {
502
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
503
- CODE_SIGN_STYLE = Automatic;
504
- INFOPLIST_FILE = PluginTests/Info.plist;
505
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
506
- PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.PluginTests;
507
- PRODUCT_NAME = "$(TARGET_NAME)";
508
- SWIFT_VERSION = 5.0;
509
- TARGETED_DEVICE_FAMILY = "1,2";
510
- };
511
- name = Release;
512
- };
513
- /* End XCBuildConfiguration section */
514
-
515
- /* Begin XCConfigurationList section */
516
- 50ADFF82201F53D600D50D53 /* Build configuration list for PBXProject "Plugin" */ = {
517
- isa = XCConfigurationList;
518
- buildConfigurations = (
519
- 50ADFF9A201F53D600D50D53 /* Debug */,
520
- 50ADFF9B201F53D600D50D53 /* Release */,
521
- );
522
- defaultConfigurationIsVisible = 0;
523
- defaultConfigurationName = Release;
524
- };
525
- 50ADFF9C201F53D600D50D53 /* Build configuration list for PBXNativeTarget "Plugin" */ = {
526
- isa = XCConfigurationList;
527
- buildConfigurations = (
528
- 50ADFF9D201F53D600D50D53 /* Debug */,
529
- 50ADFF9E201F53D600D50D53 /* Release */,
530
- );
531
- defaultConfigurationIsVisible = 0;
532
- defaultConfigurationName = Release;
533
- };
534
- 50ADFF9F201F53D600D50D53 /* Build configuration list for PBXNativeTarget "PluginTests" */ = {
535
- isa = XCConfigurationList;
536
- buildConfigurations = (
537
- 50ADFFA0201F53D600D50D53 /* Debug */,
538
- 50ADFFA1201F53D600D50D53 /* Release */,
539
- );
540
- defaultConfigurationIsVisible = 0;
541
- defaultConfigurationName = Release;
542
- };
543
- /* End XCConfigurationList section */
544
- };
545
- rootObject = 50ADFF7F201F53D600D50D53 /* Project object */;
546
- }
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Workspace
3
- version = "1.0">
4
- <FileRef
5
- location = "self:">
6
- </FileRef>
7
- </Workspace>
@@ -1,8 +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>IDEDidComputeMac32BitWarning</key>
6
- <true/>
7
- </dict>
8
- </plist>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Workspace
3
- version = "1.0">
4
- <FileRef
5
- location = "group:Plugin.xcodeproj">
6
- </FileRef>
7
- <FileRef
8
- location = "group:Pods/Pods.xcodeproj">
9
- </FileRef>
10
- </Workspace>
@@ -1,8 +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>IDEDidComputeMac32BitWarning</key>
6
- <true/>
7
- </dict>
8
- </plist>
@@ -1,22 +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>BNDL</string>
17
- <key>CFBundleShortVersionString</key>
18
- <string>1.0</string>
19
- <key>CFBundleVersion</key>
20
- <string>1</string>
21
- </dict>
22
- </plist>
@@ -1,25 +0,0 @@
1
- import XCTest
2
- import Capacitor
3
- @testable import Plugin
4
-
5
- class PluginTests: XCTestCase {
6
-
7
- func testEcho() {
8
- // This is an example of a functional test case for a plugin.
9
- // Use XCTAssert and related functions to verify your tests produce the correct results.
10
-
11
- let value = "Hello, World!"
12
- let plugin = MyPlugin()
13
-
14
- let call = CAPPluginCall(callbackId: "test", options: [
15
- "value": value
16
- ], success: { (result, _) in
17
- let resultValue = result!.data["value"] as? String
18
- XCTAssertEqual(value, resultValue)
19
- }, error: { (_) in
20
- XCTFail("Error shouldn't have been called")
21
- })
22
-
23
- plugin.echo(call!)
24
- }
25
- }
package/ios/Podfile DELETED
@@ -1,16 +0,0 @@
1
- platform :ios, '14.0'
2
-
3
- def capacitor_pods
4
- # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
5
- use_frameworks!
6
- pod 'Capacitor', :path => '../node_modules/@capacitor/ios'
7
- pod 'CapacitorCordova', :path => '../node_modules/@capacitor/ios'
8
- end
9
-
10
- target 'Plugin' do
11
- capacitor_pods
12
- end
13
-
14
- target 'PluginTests' do
15
- capacitor_pods
16
- end