@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,35 +0,0 @@
1
- import XCTest
2
- import Capacitor
3
- @testable import Plugin
4
-
5
- class PluginTests: XCTestCase {
6
-
7
- override func setUp() {
8
- super.setUp()
9
- // Put setup code here. This method is called before the invocation of each test method in the class.
10
- }
11
-
12
- override func tearDown() {
13
- // Put teardown code here. This method is called after the invocation of each test method in the class.
14
- super.tearDown()
15
- }
16
-
17
- func testEcho() {
18
- // This is an example of a functional test case for a plugin.
19
- // Use XCTAssert and related functions to verify your tests produce the correct results.
20
-
21
- let value = "Hello, World!"
22
- let plugin = MyPlugin()
23
-
24
- let call = CAPPluginCall(callbackId: "test", options: [
25
- "value": value
26
- ], success: { (result, _) in
27
- let resultValue = result!.data["value"] as? String
28
- XCTAssertEqual(value, resultValue)
29
- }, error: { (_) in
30
- XCTFail("Error shouldn't have been called")
31
- })
32
-
33
- plugin.echo(call!)
34
- }
35
- }
package/ios/Podfile DELETED
@@ -1,16 +0,0 @@
1
- platform :ios, '13.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