@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.
- package/CapgoCapacitorNativeBiometric.podspec +13 -0
- package/LICENSE +21 -0
- package/android/.gradle/8.0.2/checksums/checksums.lock +0 -0
- package/android/.gradle/8.0.2/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/8.0.2/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.0.2/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/8.0.2/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/8.0.2/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.0.2/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/8.0.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.0.2/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/8.0.2/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/android.iml +40 -0
- package/android/build.gradle +59 -0
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/android/gradle.properties +20 -0
- package/android/gradlew +244 -0
- package/android/gradlew.bat +92 -0
- package/android/local.properties +8 -0
- package/android/proguard-rules.pro +21 -0
- package/android/settings.gradle +2 -0
- package/android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java +28 -0
- package/android/src/main/AndroidManifest.xml +12 -0
- package/android/src/main/java/ee/forgr/biometric/AuthActivity.java +129 -0
- package/android/src/main/java/ee/forgr/biometric/NativeBiometric.java +457 -0
- package/android/src/main/res/layout/activity_auth_acitivy.xml +12 -0
- package/android/src/main/res/layout/bridge_layout_main.xml +15 -0
- package/android/src/main/res/navigation/nav_graph.xml +28 -0
- package/android/src/main/res/values/colors.xml +3 -0
- package/android/src/main/res/values/dimens.xml +3 -0
- package/android/src/main/res/values/strings.xml +12 -0
- package/android/src/main/res/values/styles.xml +16 -0
- package/android/src/test/java/com/getcapacitor/ExampleUnitTest.java +18 -0
- package/dist/docs.json +426 -0
- package/dist/esm/definitions.d.ts +91 -0
- package/dist/esm/definitions.js +11 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +10 -0
- package/dist/esm/web.js +22 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +47 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +50 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Plugin/Info.plist +24 -0
- package/ios/Plugin/Plugin.h +10 -0
- package/ios/Plugin/Plugin.m +12 -0
- package/ios/Plugin/Plugin.swift +264 -0
- package/ios/Plugin.xcodeproj/project.pbxproj +554 -0
- package/ios/Plugin.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/ios/Plugin.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/Plugin.xcodeproj/project.xcworkspace/xcuserdata/pilito.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Plugin.xcodeproj/xcuserdata/jmartinez.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/ios/Plugin.xcodeproj/xcuserdata/josemartinez.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/ios/Plugin.xcodeproj/xcuserdata/pilito.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/ios/Plugin.xcworkspace/contents.xcworkspacedata +10 -0
- package/ios/Plugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/Plugin.xcworkspace/xcuserdata/jmartinez.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Plugin.xcworkspace/xcuserdata/josemartinez.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Plugin.xcworkspace/xcuserdata/pilito.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/PluginTests/Info.plist +22 -0
- package/ios/PluginTests/PluginTests.swift +35 -0
- package/ios/Podfile +16 -0
- package/ios/Podfile.lock +22 -0
- package/ios/Pods/Local Podspecs/Capacitor.podspec.json +34 -0
- package/ios/Pods/Local Podspecs/CapacitorCordova.podspec.json +26 -0
- package/ios/Pods/Manifest.lock +22 -0
- package/ios/Pods/Pods.xcodeproj/project.pbxproj +1626 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/jmartinez.xcuserdatad/xcschemes/Capacitor.xcscheme +60 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/jmartinez.xcuserdatad/xcschemes/CapacitorCordova.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/jmartinez.xcuserdatad/xcschemes/Pods-Plugin.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/jmartinez.xcuserdatad/xcschemes/Pods-PluginTests.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/jmartinez.xcuserdatad/xcschemes/xcschememanagement.plist +39 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/josemartinez.xcuserdatad/xcschemes/Capacitor.xcscheme +60 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/josemartinez.xcuserdatad/xcschemes/CapacitorCordova.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/josemartinez.xcuserdatad/xcschemes/Pods-Plugin.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/josemartinez.xcuserdatad/xcschemes/Pods-PluginTests.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/josemartinez.xcuserdatad/xcschemes/xcschememanagement.plist +39 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/martindonadieu.xcuserdatad/xcschemes/Capacitor.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/martindonadieu.xcuserdatad/xcschemes/CapacitorCordova.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/martindonadieu.xcuserdatad/xcschemes/Pods-Plugin.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/martindonadieu.xcuserdatad/xcschemes/Pods-PluginTests.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/martindonadieu.xcuserdatad/xcschemes/xcschememanagement.plist +31 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/pilito.xcuserdatad/xcschemes/xcschememanagement.plist +29 -0
- package/ios/Pods/Target Support Files/Capacitor/Capacitor-Info.plist +26 -0
- package/ios/Pods/Target Support Files/Capacitor/Capacitor-dummy.m +5 -0
- package/ios/Pods/Target Support Files/Capacitor/Capacitor-prefix.pch +12 -0
- package/ios/Pods/Target Support Files/Capacitor/Capacitor-umbrella.h +23 -0
- package/ios/Pods/Target Support Files/Capacitor/Capacitor.debug.xcconfig +16 -0
- package/ios/Pods/Target Support Files/Capacitor/Capacitor.modulemap +8 -0
- package/ios/Pods/Target Support Files/Capacitor/Capacitor.release.xcconfig +16 -0
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-Info.plist +26 -0
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-dummy.m +5 -0
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-prefix.pch +12 -0
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-umbrella.h +32 -0
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.debug.xcconfig +13 -0
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.modulemap +6 -0
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.release.xcconfig +13 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-Info.plist +26 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.markdown +53 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.plist +91 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-dummy.m +5 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-umbrella.h +16 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.debug.xcconfig +14 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.modulemap +6 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.release.xcconfig +14 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-Info.plist +26 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.markdown +53 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.plist +91 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-dummy.m +5 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh +188 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-umbrella.h +16 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.debug.xcconfig +15 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.modulemap +6 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.release.xcconfig +15 -0
- package/package.json +80 -0
- 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
|
package/ios/Podfile.lock
ADDED
|
@@ -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
|