@capgo/capacitor-native-biometric 5.0.0

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 (125) hide show
  1. package/CapgoCapacitorNativeBiometric.podspec +13 -0
  2. package/LICENSE +21 -0
  3. package/android/.gradle/8.0.2/checksums/checksums.lock +0 -0
  4. package/android/.gradle/8.0.2/dependencies-accessors/dependencies-accessors.lock +0 -0
  5. package/android/.gradle/8.0.2/dependencies-accessors/gc.properties +0 -0
  6. package/android/.gradle/8.0.2/executionHistory/executionHistory.bin +0 -0
  7. package/android/.gradle/8.0.2/executionHistory/executionHistory.lock +0 -0
  8. package/android/.gradle/8.0.2/fileChanges/last-build.bin +0 -0
  9. package/android/.gradle/8.0.2/fileHashes/fileHashes.bin +0 -0
  10. package/android/.gradle/8.0.2/fileHashes/fileHashes.lock +0 -0
  11. package/android/.gradle/8.0.2/fileHashes/resourceHashesCache.bin +0 -0
  12. package/android/.gradle/8.0.2/gc.properties +0 -0
  13. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  14. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  15. package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  16. package/android/.gradle/vcs-1/gc.properties +0 -0
  17. package/android/android.iml +40 -0
  18. package/android/build.gradle +59 -0
  19. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  20. package/android/gradle/wrapper/gradle-wrapper.properties +6 -0
  21. package/android/gradle.properties +20 -0
  22. package/android/gradlew +244 -0
  23. package/android/gradlew.bat +92 -0
  24. package/android/local.properties +8 -0
  25. package/android/proguard-rules.pro +21 -0
  26. package/android/settings.gradle +2 -0
  27. package/android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java +28 -0
  28. package/android/src/main/AndroidManifest.xml +12 -0
  29. package/android/src/main/java/ee/forgr/biometric/AuthActivity.java +129 -0
  30. package/android/src/main/java/ee/forgr/biometric/NativeBiometric.java +457 -0
  31. package/android/src/main/res/layout/activity_auth_acitivy.xml +12 -0
  32. package/android/src/main/res/layout/bridge_layout_main.xml +15 -0
  33. package/android/src/main/res/navigation/nav_graph.xml +28 -0
  34. package/android/src/main/res/values/colors.xml +3 -0
  35. package/android/src/main/res/values/dimens.xml +3 -0
  36. package/android/src/main/res/values/strings.xml +12 -0
  37. package/android/src/main/res/values/styles.xml +16 -0
  38. package/android/src/test/java/com/getcapacitor/ExampleUnitTest.java +18 -0
  39. package/dist/docs.json +426 -0
  40. package/dist/esm/definitions.d.ts +91 -0
  41. package/dist/esm/definitions.js +11 -0
  42. package/dist/esm/definitions.js.map +1 -0
  43. package/dist/esm/index.d.ts +4 -0
  44. package/dist/esm/index.js +7 -0
  45. package/dist/esm/index.js.map +1 -0
  46. package/dist/esm/web.d.ts +10 -0
  47. package/dist/esm/web.js +22 -0
  48. package/dist/esm/web.js.map +1 -0
  49. package/dist/plugin.cjs.js +47 -0
  50. package/dist/plugin.cjs.js.map +1 -0
  51. package/dist/plugin.js +50 -0
  52. package/dist/plugin.js.map +1 -0
  53. package/ios/Plugin/Info.plist +24 -0
  54. package/ios/Plugin/Plugin.h +10 -0
  55. package/ios/Plugin/Plugin.m +12 -0
  56. package/ios/Plugin/Plugin.swift +264 -0
  57. package/ios/Plugin.xcodeproj/project.pbxproj +554 -0
  58. package/ios/Plugin.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  59. package/ios/Plugin.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  60. package/ios/Plugin.xcodeproj/project.xcworkspace/xcuserdata/pilito.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  61. package/ios/Plugin.xcodeproj/xcuserdata/jmartinez.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  62. package/ios/Plugin.xcodeproj/xcuserdata/josemartinez.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  63. package/ios/Plugin.xcodeproj/xcuserdata/pilito.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  64. package/ios/Plugin.xcworkspace/contents.xcworkspacedata +10 -0
  65. package/ios/Plugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  66. package/ios/Plugin.xcworkspace/xcuserdata/jmartinez.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  67. package/ios/Plugin.xcworkspace/xcuserdata/josemartinez.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  68. package/ios/Plugin.xcworkspace/xcuserdata/pilito.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  69. package/ios/PluginTests/Info.plist +22 -0
  70. package/ios/PluginTests/PluginTests.swift +35 -0
  71. package/ios/Podfile +16 -0
  72. package/ios/Podfile.lock +22 -0
  73. package/ios/Pods/Local Podspecs/Capacitor.podspec.json +34 -0
  74. package/ios/Pods/Local Podspecs/CapacitorCordova.podspec.json +26 -0
  75. package/ios/Pods/Manifest.lock +22 -0
  76. package/ios/Pods/Pods.xcodeproj/project.pbxproj +1626 -0
  77. package/ios/Pods/Pods.xcodeproj/xcuserdata/jmartinez.xcuserdatad/xcschemes/Capacitor.xcscheme +60 -0
  78. package/ios/Pods/Pods.xcodeproj/xcuserdata/jmartinez.xcuserdatad/xcschemes/CapacitorCordova.xcscheme +58 -0
  79. package/ios/Pods/Pods.xcodeproj/xcuserdata/jmartinez.xcuserdatad/xcschemes/Pods-Plugin.xcscheme +58 -0
  80. package/ios/Pods/Pods.xcodeproj/xcuserdata/jmartinez.xcuserdatad/xcschemes/Pods-PluginTests.xcscheme +58 -0
  81. package/ios/Pods/Pods.xcodeproj/xcuserdata/jmartinez.xcuserdatad/xcschemes/xcschememanagement.plist +39 -0
  82. package/ios/Pods/Pods.xcodeproj/xcuserdata/josemartinez.xcuserdatad/xcschemes/Capacitor.xcscheme +60 -0
  83. package/ios/Pods/Pods.xcodeproj/xcuserdata/josemartinez.xcuserdatad/xcschemes/CapacitorCordova.xcscheme +58 -0
  84. package/ios/Pods/Pods.xcodeproj/xcuserdata/josemartinez.xcuserdatad/xcschemes/Pods-Plugin.xcscheme +58 -0
  85. package/ios/Pods/Pods.xcodeproj/xcuserdata/josemartinez.xcuserdatad/xcschemes/Pods-PluginTests.xcscheme +58 -0
  86. package/ios/Pods/Pods.xcodeproj/xcuserdata/josemartinez.xcuserdatad/xcschemes/xcschememanagement.plist +39 -0
  87. package/ios/Pods/Pods.xcodeproj/xcuserdata/martindonadieu.xcuserdatad/xcschemes/Capacitor.xcscheme +58 -0
  88. package/ios/Pods/Pods.xcodeproj/xcuserdata/martindonadieu.xcuserdatad/xcschemes/CapacitorCordova.xcscheme +58 -0
  89. package/ios/Pods/Pods.xcodeproj/xcuserdata/martindonadieu.xcuserdatad/xcschemes/Pods-Plugin.xcscheme +58 -0
  90. package/ios/Pods/Pods.xcodeproj/xcuserdata/martindonadieu.xcuserdatad/xcschemes/Pods-PluginTests.xcscheme +58 -0
  91. package/ios/Pods/Pods.xcodeproj/xcuserdata/martindonadieu.xcuserdatad/xcschemes/xcschememanagement.plist +31 -0
  92. package/ios/Pods/Pods.xcodeproj/xcuserdata/pilito.xcuserdatad/xcschemes/xcschememanagement.plist +29 -0
  93. package/ios/Pods/Target Support Files/Capacitor/Capacitor-Info.plist +26 -0
  94. package/ios/Pods/Target Support Files/Capacitor/Capacitor-dummy.m +5 -0
  95. package/ios/Pods/Target Support Files/Capacitor/Capacitor-prefix.pch +12 -0
  96. package/ios/Pods/Target Support Files/Capacitor/Capacitor-umbrella.h +23 -0
  97. package/ios/Pods/Target Support Files/Capacitor/Capacitor.debug.xcconfig +16 -0
  98. package/ios/Pods/Target Support Files/Capacitor/Capacitor.modulemap +8 -0
  99. package/ios/Pods/Target Support Files/Capacitor/Capacitor.release.xcconfig +16 -0
  100. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-Info.plist +26 -0
  101. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-dummy.m +5 -0
  102. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-prefix.pch +12 -0
  103. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-umbrella.h +32 -0
  104. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.debug.xcconfig +13 -0
  105. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.modulemap +6 -0
  106. package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.release.xcconfig +13 -0
  107. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-Info.plist +26 -0
  108. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.markdown +53 -0
  109. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.plist +91 -0
  110. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-dummy.m +5 -0
  111. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-umbrella.h +16 -0
  112. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.debug.xcconfig +14 -0
  113. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.modulemap +6 -0
  114. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.release.xcconfig +14 -0
  115. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-Info.plist +26 -0
  116. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.markdown +53 -0
  117. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.plist +91 -0
  118. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-dummy.m +5 -0
  119. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh +188 -0
  120. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-umbrella.h +16 -0
  121. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.debug.xcconfig +15 -0
  122. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.modulemap +6 -0
  123. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.release.xcconfig +15 -0
  124. package/package.json +80 -0
  125. package/readme.md +284 -0
@@ -0,0 +1,35 @@
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 ADDED
@@ -0,0 +1,16 @@
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
@@ -0,0 +1,22 @@
1
+ PODS:
2
+ - Capacitor (5.0.3):
3
+ - CapacitorCordova
4
+ - CapacitorCordova (5.0.3)
5
+
6
+ DEPENDENCIES:
7
+ - "Capacitor (from `../node_modules/@capacitor/ios`)"
8
+ - "CapacitorCordova (from `../node_modules/@capacitor/ios`)"
9
+
10
+ EXTERNAL SOURCES:
11
+ Capacitor:
12
+ :path: "../node_modules/@capacitor/ios"
13
+ CapacitorCordova:
14
+ :path: "../node_modules/@capacitor/ios"
15
+
16
+ SPEC CHECKSUMS:
17
+ Capacitor: 304a960e431f9e6f78556554ca71c41c1b2b9680
18
+ CapacitorCordova: def732a63679698df6fb392bbe6d269a0b61e937
19
+
20
+ PODFILE CHECKSUM: 1033dea949db4aa66cc0404a8baadac4a30dd025
21
+
22
+ COCOAPODS: 1.12.1
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "Capacitor",
3
+ "version": "5.0.3",
4
+ "summary": "Capacitor for iOS",
5
+ "social_media_url": "https://twitter.com/capacitorjs",
6
+ "license": "MIT",
7
+ "homepage": "https://capacitorjs.com/",
8
+ "platforms": {
9
+ "ios": "13.0"
10
+ },
11
+ "authors": {
12
+ "Ionic Team": "hi@ionicframework.com"
13
+ },
14
+ "source": {
15
+ "git": "https://github.com/ionic-team/capacitor.git",
16
+ "tag": "5.0.3"
17
+ },
18
+ "source_files": [
19
+ "Capacitor/Capacitor/*.{swift,h,m}",
20
+ "Capacitor/Capacitor/Plugins/*.{swift,h,m}",
21
+ "Capacitor/Capacitor/Plugins/**/*.{swift,h,m}"
22
+ ],
23
+ "module_map": "Capacitor/Capacitor/Capacitor.modulemap",
24
+ "resources": [
25
+ "Capacitor/Capacitor/assets/native-bridge.js"
26
+ ],
27
+ "dependencies": {
28
+ "CapacitorCordova": [
29
+
30
+ ]
31
+ },
32
+ "swift_versions": "5.1",
33
+ "swift_version": "5.1"
34
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "CapacitorCordova",
3
+ "module_name": "Cordova",
4
+ "version": "5.0.3",
5
+ "summary": "Capacitor Cordova Compatibility Layer",
6
+ "homepage": "https://capacitorjs.com",
7
+ "license": "MIT",
8
+ "authors": {
9
+ "Ionic Team": "hi@ionicframework.com"
10
+ },
11
+ "source": {
12
+ "git": "https://github.com/ionic-team/capacitor",
13
+ "tag": "5.0.3"
14
+ },
15
+ "platforms": {
16
+ "ios": "13.0"
17
+ },
18
+ "source_files": "CapacitorCordova/CapacitorCordova/**/*.{h,m}",
19
+ "public_header_files": [
20
+ "CapacitorCordova/CapacitorCordova/Classes/Public/*.h",
21
+ "CapacitorCordova/CapacitorCordova/CapacitorCordova.h"
22
+ ],
23
+ "module_map": "CapacitorCordova/CapacitorCordova/CapacitorCordova.modulemap",
24
+ "requires_arc": true,
25
+ "frameworks": "WebKit"
26
+ }
@@ -0,0 +1,22 @@
1
+ PODS:
2
+ - Capacitor (5.0.3):
3
+ - CapacitorCordova
4
+ - CapacitorCordova (5.0.3)
5
+
6
+ DEPENDENCIES:
7
+ - "Capacitor (from `../node_modules/@capacitor/ios`)"
8
+ - "CapacitorCordova (from `../node_modules/@capacitor/ios`)"
9
+
10
+ EXTERNAL SOURCES:
11
+ Capacitor:
12
+ :path: "../node_modules/@capacitor/ios"
13
+ CapacitorCordova:
14
+ :path: "../node_modules/@capacitor/ios"
15
+
16
+ SPEC CHECKSUMS:
17
+ Capacitor: 304a960e431f9e6f78556554ca71c41c1b2b9680
18
+ CapacitorCordova: def732a63679698df6fb392bbe6d269a0b61e937
19
+
20
+ PODFILE CHECKSUM: 1033dea949db4aa66cc0404a8baadac4a30dd025
21
+
22
+ COCOAPODS: 1.12.1