@capgo/native-market 8.0.0 → 8.0.2

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