@capgo/capacitor-native-biometric 5.1.1 → 6.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/android/build.gradle +3 -3
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +2 -1
- package/android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java +1 -2
- package/android/src/main/java/ee/forgr/biometric/AuthActivity.java +23 -23
- package/android/src/main/java/ee/forgr/biometric/NativeBiometric.java +14 -15
- package/dist/esm/index.js.map +1 -1
- package/dist/plugin.cjs.js +6 -2
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +7 -3
- package/dist/plugin.js.map +1 -1
- package/ios/PluginTests/PluginTests.swift +0 -10
- package/ios/Podfile.lock +5 -5
- package/ios/Pods/Local Podspecs/Capacitor.podspec.json +5 -8
- package/ios/Pods/Local Podspecs/CapacitorCordova.podspec.json +5 -2
- package/ios/Pods/Manifest.lock +5 -5
- package/ios/Pods/Pods.xcodeproj/project.pbxproj +710 -726
- package/ios/Pods/Target Support Files/Capacitor/Capacitor-Info.plist +1 -1
- package/ios/Pods/Target Support Files/Capacitor/Capacitor.debug.xcconfig +1 -1
- package/ios/Pods/Target Support Files/Capacitor/Capacitor.release.xcconfig +1 -1
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-Info.plist +1 -1
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.debug.xcconfig +1 -1
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.release.xcconfig +1 -1
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh +1 -1
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.debug.xcconfig +1 -1
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.release.xcconfig +1 -1
- package/package.json +15 -18
package/android/build.gradle
CHANGED
|
@@ -11,7 +11,7 @@ buildscript {
|
|
|
11
11
|
mavenCentral()
|
|
12
12
|
}
|
|
13
13
|
dependencies {
|
|
14
|
-
classpath 'com.android.tools.build:gradle:8.
|
|
14
|
+
classpath 'com.android.tools.build:gradle:8.2.1'
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -19,10 +19,10 @@ apply plugin: 'com.android.library'
|
|
|
19
19
|
|
|
20
20
|
android {
|
|
21
21
|
namespace "ee.forgr.biometric.capacitornativebiometric"
|
|
22
|
-
|
|
22
|
+
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 34
|
|
23
23
|
defaultConfig {
|
|
24
24
|
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
|
|
25
|
-
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion :
|
|
25
|
+
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 34
|
|
26
26
|
versionCode 1
|
|
27
27
|
versionName "1.0"
|
|
28
28
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
Binary file
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-all.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
|
+
validateDistributionUrl=true
|
|
5
6
|
zipStoreBase=GRADLE_USER_HOME
|
|
6
7
|
zipStorePath=wrapper/dists
|
|
@@ -19,8 +19,7 @@ public class ExampleInstrumentedTest {
|
|
|
19
19
|
@Test
|
|
20
20
|
public void useAppContext() throws Exception {
|
|
21
21
|
// Context of the app under test.
|
|
22
|
-
Context appContext = InstrumentationRegistry
|
|
23
|
-
.getInstrumentation()
|
|
22
|
+
Context appContext = InstrumentationRegistry.getInstrumentation()
|
|
24
23
|
.getTargetContext();
|
|
25
24
|
|
|
26
25
|
assertEquals("com.getcapacitor.android", appContext.getPackageName());
|
|
@@ -26,31 +26,31 @@ public class AuthActivity extends AppCompatActivity {
|
|
|
26
26
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
|
27
27
|
executor = this.getMainExecutor();
|
|
28
28
|
} else {
|
|
29
|
-
executor =
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
29
|
+
executor = new Executor() {
|
|
30
|
+
@Override
|
|
31
|
+
public void execute(Runnable command) {
|
|
32
|
+
new Handler().post(command);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
36
35
|
}
|
|
37
36
|
|
|
38
|
-
BiometricPrompt.PromptInfo.Builder builder =
|
|
39
|
-
.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
37
|
+
BiometricPrompt.PromptInfo.Builder builder =
|
|
38
|
+
new BiometricPrompt.PromptInfo.Builder()
|
|
39
|
+
.setTitle(
|
|
40
|
+
getIntent().hasExtra("title")
|
|
41
|
+
? getIntent().getStringExtra("title")
|
|
42
|
+
: "Authenticate"
|
|
43
|
+
)
|
|
44
|
+
.setSubtitle(
|
|
45
|
+
getIntent().hasExtra("subtitle")
|
|
46
|
+
? getIntent().getStringExtra("subtitle")
|
|
47
|
+
: null
|
|
48
|
+
)
|
|
49
|
+
.setDescription(
|
|
50
|
+
getIntent().hasExtra("description")
|
|
51
|
+
? getIntent().getStringExtra("description")
|
|
52
|
+
: null
|
|
53
|
+
);
|
|
54
54
|
|
|
55
55
|
boolean useFallback = getIntent().getBooleanExtra("useFallback", false);
|
|
56
56
|
|
|
@@ -127,10 +127,8 @@ public class NativeBiometric extends Plugin {
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
boolean isAvailable =
|
|
130
|
-
(
|
|
131
|
-
|
|
132
|
-
fallbackAvailable
|
|
133
|
-
);
|
|
130
|
+
(canAuthenticateResult == BiometricManager.BIOMETRIC_SUCCESS ||
|
|
131
|
+
fallbackAvailable);
|
|
134
132
|
ret.put("isAvailable", isAvailable);
|
|
135
133
|
|
|
136
134
|
if (!isAvailable) {
|
|
@@ -365,13 +363,14 @@ public class NativeBiometric extends Plugin {
|
|
|
365
363
|
KeyProperties.KEY_ALGORITHM_AES,
|
|
366
364
|
ANDROID_KEY_STORE
|
|
367
365
|
);
|
|
368
|
-
KeyGenParameterSpec.Builder paramBuilder =
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
366
|
+
KeyGenParameterSpec.Builder paramBuilder =
|
|
367
|
+
new KeyGenParameterSpec.Builder(
|
|
368
|
+
KEY_ALIAS,
|
|
369
|
+
KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT
|
|
370
|
+
)
|
|
371
|
+
.setBlockModes(KeyProperties.BLOCK_MODE_GCM)
|
|
372
|
+
.setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_NONE)
|
|
373
|
+
.setRandomizedEncryptionRequired(false);
|
|
375
374
|
|
|
376
375
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
|
377
376
|
paramBuilder.setUnlockedDeviceRequired(true);
|
|
@@ -387,8 +386,8 @@ public class NativeBiometric extends Plugin {
|
|
|
387
386
|
|
|
388
387
|
private Key getKey(String KEY_ALIAS)
|
|
389
388
|
throws GeneralSecurityException, IOException {
|
|
390
|
-
KeyStore.SecretKeyEntry secretKeyEntry =
|
|
391
|
-
.getEntry(KEY_ALIAS, null);
|
|
389
|
+
KeyStore.SecretKeyEntry secretKeyEntry =
|
|
390
|
+
(KeyStore.SecretKeyEntry) getKeyStore().getEntry(KEY_ALIAS, null);
|
|
392
391
|
if (secretKeyEntry != null) {
|
|
393
392
|
return secretKeyEntry.getSecretKey();
|
|
394
393
|
}
|
|
@@ -428,8 +427,8 @@ public class NativeBiometric extends Plugin {
|
|
|
428
427
|
|
|
429
428
|
private KeyStore.PrivateKeyEntry getPrivateKeyEntry(String KEY_ALIAS)
|
|
430
429
|
throws NoSuchProviderException, NoSuchAlgorithmException, InvalidAlgorithmParameterException, CertificateException, KeyStoreException, IOException, UnrecoverableEntryException {
|
|
431
|
-
KeyStore.PrivateKeyEntry privateKeyEntry =
|
|
432
|
-
.getEntry(KEY_ALIAS, null);
|
|
430
|
+
KeyStore.PrivateKeyEntry privateKeyEntry =
|
|
431
|
+
(KeyStore.PrivateKeyEntry) getKeyStore().getEntry(KEY_ALIAS, null);
|
|
433
432
|
|
|
434
433
|
if (privateKeyEntry == null) {
|
|
435
434
|
KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance(
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,eAAe,GAAG,cAAc,CACpC,iBAAiB,EACjB;IACE,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,kBAAkB,EAAE,CAAC;CACnE,CACF,CAAC;AAEF,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,CAAC","sourcesContent":["import { registerPlugin } from \"@capacitor/core\";\n\nimport type { NativeBiometricPlugin } from \"./definitions\";\n\nconst NativeBiometric = registerPlugin<NativeBiometricPlugin>(\n \"NativeBiometric\",\n {\n web: () => import(\"./web\").then((m) => new m.NativeBiometricWeb()),\n }
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,eAAe,GAAG,cAAc,CACpC,iBAAiB,EACjB;IACE,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,kBAAkB,EAAE,CAAC;CACnE,CACF,CAAC;AAEF,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,CAAC","sourcesContent":["import { registerPlugin } from \"@capacitor/core\";\n\nimport type { NativeBiometricPlugin } from \"./definitions\";\n\nconst NativeBiometric = registerPlugin<NativeBiometricPlugin>(\n \"NativeBiometric\",\n {\n web: () => import(\"./web\").then((m) => new m.NativeBiometricWeb()),\n },\n);\n\nexport * from \"./definitions\";\nexport { NativeBiometric };\n"]}
|
package/dist/plugin.cjs.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var core = require('@capacitor/core');
|
|
6
4
|
|
|
5
|
+
exports.BiometryType = void 0;
|
|
7
6
|
(function (BiometryType) {
|
|
8
7
|
// Android, iOS
|
|
9
8
|
BiometryType[BiometryType["NONE"] = 0] = "NONE";
|
|
@@ -20,6 +19,11 @@ var core = require('@capacitor/core');
|
|
|
20
19
|
// Android
|
|
21
20
|
BiometryType[BiometryType["MULTIPLE"] = 6] = "MULTIPLE";
|
|
22
21
|
})(exports.BiometryType || (exports.BiometryType = {}));
|
|
22
|
+
/**
|
|
23
|
+
* Keep this in sync with BiometricAuthError in README.md
|
|
24
|
+
* Update whenever `convertToPluginErrorCode` functions are modified
|
|
25
|
+
*/
|
|
26
|
+
exports.BiometricAuthError = void 0;
|
|
23
27
|
(function (BiometricAuthError) {
|
|
24
28
|
BiometricAuthError[BiometricAuthError["UNKNOWN_ERROR"] = 0] = "UNKNOWN_ERROR";
|
|
25
29
|
BiometricAuthError[BiometricAuthError["BIOMETRICS_UNAVAILABLE"] = 1] = "BIOMETRICS_UNAVAILABLE";
|
package/dist/plugin.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.cjs.js","sources":["esm/definitions.js","esm/index.js","esm/web.js"],"sourcesContent":["export var BiometryType;\n(function (BiometryType) {\n // Android, iOS\n BiometryType[BiometryType[\"NONE\"] = 0] = \"NONE\";\n // iOS\n BiometryType[BiometryType[\"TOUCH_ID\"] = 1] = \"TOUCH_ID\";\n // iOS\n BiometryType[BiometryType[\"FACE_ID\"] = 2] = \"FACE_ID\";\n // Android\n BiometryType[BiometryType[\"FINGERPRINT\"] = 3] = \"FINGERPRINT\";\n // Android\n BiometryType[BiometryType[\"FACE_AUTHENTICATION\"] = 4] = \"FACE_AUTHENTICATION\";\n // Android\n BiometryType[BiometryType[\"IRIS_AUTHENTICATION\"] = 5] = \"IRIS_AUTHENTICATION\";\n // Android\n BiometryType[BiometryType[\"MULTIPLE\"] = 6] = \"MULTIPLE\";\n})(BiometryType || (BiometryType = {}));\n/**\n * Keep this in sync with BiometricAuthError in README.md\n * Update whenever `convertToPluginErrorCode` functions are modified\n */\nexport var BiometricAuthError;\n(function (BiometricAuthError) {\n BiometricAuthError[BiometricAuthError[\"UNKNOWN_ERROR\"] = 0] = \"UNKNOWN_ERROR\";\n BiometricAuthError[BiometricAuthError[\"BIOMETRICS_UNAVAILABLE\"] = 1] = \"BIOMETRICS_UNAVAILABLE\";\n BiometricAuthError[BiometricAuthError[\"USER_LOCKOUT\"] = 2] = \"USER_LOCKOUT\";\n BiometricAuthError[BiometricAuthError[\"BIOMETRICS_NOT_ENROLLED\"] = 3] = \"BIOMETRICS_NOT_ENROLLED\";\n BiometricAuthError[BiometricAuthError[\"USER_TEMPORARY_LOCKOUT\"] = 4] = \"USER_TEMPORARY_LOCKOUT\";\n BiometricAuthError[BiometricAuthError[\"AUTHENTICATION_FAILED\"] = 10] = \"AUTHENTICATION_FAILED\";\n BiometricAuthError[BiometricAuthError[\"APP_CANCEL\"] = 11] = \"APP_CANCEL\";\n BiometricAuthError[BiometricAuthError[\"INVALID_CONTEXT\"] = 12] = \"INVALID_CONTEXT\";\n BiometricAuthError[BiometricAuthError[\"NOT_INTERACTIVE\"] = 13] = \"NOT_INTERACTIVE\";\n BiometricAuthError[BiometricAuthError[\"PASSCODE_NOT_SET\"] = 14] = \"PASSCODE_NOT_SET\";\n BiometricAuthError[BiometricAuthError[\"SYSTEM_CANCEL\"] = 15] = \"SYSTEM_CANCEL\";\n BiometricAuthError[BiometricAuthError[\"USER_CANCEL\"] = 16] = \"USER_CANCEL\";\n BiometricAuthError[BiometricAuthError[\"USER_FALLBACK\"] = 17] = \"USER_FALLBACK\";\n})(BiometricAuthError || (BiometricAuthError = {}));\n//# sourceMappingURL=definitions.js.map","import { registerPlugin } from \"@capacitor/core\";\nconst NativeBiometric = registerPlugin(\"NativeBiometric\", {\n web: () => import(\"./web\").then((m) => new m.NativeBiometricWeb()),\n});\nexport * from \"./definitions\";\nexport { NativeBiometric };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from \"@capacitor/core\";\nexport class NativeBiometricWeb extends WebPlugin {\n constructor() {\n super();\n }\n isAvailable() {\n throw new Error(\"Method not implemented.\");\n }\n verifyIdentity(_options) {\n throw new Error(\"Method not implemented.\");\n }\n getCredentials(_options) {\n throw new Error(\"Method not implemented.\");\n }\n setCredentials(_options) {\n throw new Error(\"Method not implemented.\");\n }\n deleteCredentials(_options) {\n throw new Error(\"Method not implemented.\");\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["BiometryType","BiometricAuthError","registerPlugin","WebPlugin"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.cjs.js","sources":["esm/definitions.js","esm/index.js","esm/web.js"],"sourcesContent":["export var BiometryType;\n(function (BiometryType) {\n // Android, iOS\n BiometryType[BiometryType[\"NONE\"] = 0] = \"NONE\";\n // iOS\n BiometryType[BiometryType[\"TOUCH_ID\"] = 1] = \"TOUCH_ID\";\n // iOS\n BiometryType[BiometryType[\"FACE_ID\"] = 2] = \"FACE_ID\";\n // Android\n BiometryType[BiometryType[\"FINGERPRINT\"] = 3] = \"FINGERPRINT\";\n // Android\n BiometryType[BiometryType[\"FACE_AUTHENTICATION\"] = 4] = \"FACE_AUTHENTICATION\";\n // Android\n BiometryType[BiometryType[\"IRIS_AUTHENTICATION\"] = 5] = \"IRIS_AUTHENTICATION\";\n // Android\n BiometryType[BiometryType[\"MULTIPLE\"] = 6] = \"MULTIPLE\";\n})(BiometryType || (BiometryType = {}));\n/**\n * Keep this in sync with BiometricAuthError in README.md\n * Update whenever `convertToPluginErrorCode` functions are modified\n */\nexport var BiometricAuthError;\n(function (BiometricAuthError) {\n BiometricAuthError[BiometricAuthError[\"UNKNOWN_ERROR\"] = 0] = \"UNKNOWN_ERROR\";\n BiometricAuthError[BiometricAuthError[\"BIOMETRICS_UNAVAILABLE\"] = 1] = \"BIOMETRICS_UNAVAILABLE\";\n BiometricAuthError[BiometricAuthError[\"USER_LOCKOUT\"] = 2] = \"USER_LOCKOUT\";\n BiometricAuthError[BiometricAuthError[\"BIOMETRICS_NOT_ENROLLED\"] = 3] = \"BIOMETRICS_NOT_ENROLLED\";\n BiometricAuthError[BiometricAuthError[\"USER_TEMPORARY_LOCKOUT\"] = 4] = \"USER_TEMPORARY_LOCKOUT\";\n BiometricAuthError[BiometricAuthError[\"AUTHENTICATION_FAILED\"] = 10] = \"AUTHENTICATION_FAILED\";\n BiometricAuthError[BiometricAuthError[\"APP_CANCEL\"] = 11] = \"APP_CANCEL\";\n BiometricAuthError[BiometricAuthError[\"INVALID_CONTEXT\"] = 12] = \"INVALID_CONTEXT\";\n BiometricAuthError[BiometricAuthError[\"NOT_INTERACTIVE\"] = 13] = \"NOT_INTERACTIVE\";\n BiometricAuthError[BiometricAuthError[\"PASSCODE_NOT_SET\"] = 14] = \"PASSCODE_NOT_SET\";\n BiometricAuthError[BiometricAuthError[\"SYSTEM_CANCEL\"] = 15] = \"SYSTEM_CANCEL\";\n BiometricAuthError[BiometricAuthError[\"USER_CANCEL\"] = 16] = \"USER_CANCEL\";\n BiometricAuthError[BiometricAuthError[\"USER_FALLBACK\"] = 17] = \"USER_FALLBACK\";\n})(BiometricAuthError || (BiometricAuthError = {}));\n//# sourceMappingURL=definitions.js.map","import { registerPlugin } from \"@capacitor/core\";\nconst NativeBiometric = registerPlugin(\"NativeBiometric\", {\n web: () => import(\"./web\").then((m) => new m.NativeBiometricWeb()),\n});\nexport * from \"./definitions\";\nexport { NativeBiometric };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from \"@capacitor/core\";\nexport class NativeBiometricWeb extends WebPlugin {\n constructor() {\n super();\n }\n isAvailable() {\n throw new Error(\"Method not implemented.\");\n }\n verifyIdentity(_options) {\n throw new Error(\"Method not implemented.\");\n }\n getCredentials(_options) {\n throw new Error(\"Method not implemented.\");\n }\n setCredentials(_options) {\n throw new Error(\"Method not implemented.\");\n }\n deleteCredentials(_options) {\n throw new Error(\"Method not implemented.\");\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["BiometryType","BiometricAuthError","registerPlugin","WebPlugin"],"mappings":";;;;AAAWA,8BAAa;AACxB,CAAC,UAAU,YAAY,EAAE;AACzB;AACA,IAAI,YAAY,CAAC,YAAY,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC;AACpD;AACA,IAAI,YAAY,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC;AAC5D;AACA,IAAI,YAAY,CAAC,YAAY,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS,CAAC;AAC1D;AACA,IAAI,YAAY,CAAC,YAAY,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,GAAG,aAAa,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yBAAyB,CAAC,CAAC;AACnD,KAAK;AACL;;;;;;;;;"}
|
package/dist/plugin.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
var capacitorCapacitorBiometric = (function (exports, core) {
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
+
exports.BiometryType = void 0;
|
|
4
5
|
(function (BiometryType) {
|
|
5
6
|
// Android, iOS
|
|
6
7
|
BiometryType[BiometryType["NONE"] = 0] = "NONE";
|
|
@@ -17,6 +18,11 @@ var capacitorCapacitorBiometric = (function (exports, core) {
|
|
|
17
18
|
// Android
|
|
18
19
|
BiometryType[BiometryType["MULTIPLE"] = 6] = "MULTIPLE";
|
|
19
20
|
})(exports.BiometryType || (exports.BiometryType = {}));
|
|
21
|
+
/**
|
|
22
|
+
* Keep this in sync with BiometricAuthError in README.md
|
|
23
|
+
* Update whenever `convertToPluginErrorCode` functions are modified
|
|
24
|
+
*/
|
|
25
|
+
exports.BiometricAuthError = void 0;
|
|
20
26
|
(function (BiometricAuthError) {
|
|
21
27
|
BiometricAuthError[BiometricAuthError["UNKNOWN_ERROR"] = 0] = "UNKNOWN_ERROR";
|
|
22
28
|
BiometricAuthError[BiometricAuthError["BIOMETRICS_UNAVAILABLE"] = 1] = "BIOMETRICS_UNAVAILABLE";
|
|
@@ -65,9 +71,7 @@ var capacitorCapacitorBiometric = (function (exports, core) {
|
|
|
65
71
|
|
|
66
72
|
exports.NativeBiometric = NativeBiometric;
|
|
67
73
|
|
|
68
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
69
|
-
|
|
70
74
|
return exports;
|
|
71
75
|
|
|
72
|
-
}({}, capacitorExports)
|
|
76
|
+
})({}, capacitorExports);
|
|
73
77
|
//# sourceMappingURL=plugin.js.map
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/definitions.js","esm/index.js","esm/web.js"],"sourcesContent":["export var BiometryType;\n(function (BiometryType) {\n // Android, iOS\n BiometryType[BiometryType[\"NONE\"] = 0] = \"NONE\";\n // iOS\n BiometryType[BiometryType[\"TOUCH_ID\"] = 1] = \"TOUCH_ID\";\n // iOS\n BiometryType[BiometryType[\"FACE_ID\"] = 2] = \"FACE_ID\";\n // Android\n BiometryType[BiometryType[\"FINGERPRINT\"] = 3] = \"FINGERPRINT\";\n // Android\n BiometryType[BiometryType[\"FACE_AUTHENTICATION\"] = 4] = \"FACE_AUTHENTICATION\";\n // Android\n BiometryType[BiometryType[\"IRIS_AUTHENTICATION\"] = 5] = \"IRIS_AUTHENTICATION\";\n // Android\n BiometryType[BiometryType[\"MULTIPLE\"] = 6] = \"MULTIPLE\";\n})(BiometryType || (BiometryType = {}));\n/**\n * Keep this in sync with BiometricAuthError in README.md\n * Update whenever `convertToPluginErrorCode` functions are modified\n */\nexport var BiometricAuthError;\n(function (BiometricAuthError) {\n BiometricAuthError[BiometricAuthError[\"UNKNOWN_ERROR\"] = 0] = \"UNKNOWN_ERROR\";\n BiometricAuthError[BiometricAuthError[\"BIOMETRICS_UNAVAILABLE\"] = 1] = \"BIOMETRICS_UNAVAILABLE\";\n BiometricAuthError[BiometricAuthError[\"USER_LOCKOUT\"] = 2] = \"USER_LOCKOUT\";\n BiometricAuthError[BiometricAuthError[\"BIOMETRICS_NOT_ENROLLED\"] = 3] = \"BIOMETRICS_NOT_ENROLLED\";\n BiometricAuthError[BiometricAuthError[\"USER_TEMPORARY_LOCKOUT\"] = 4] = \"USER_TEMPORARY_LOCKOUT\";\n BiometricAuthError[BiometricAuthError[\"AUTHENTICATION_FAILED\"] = 10] = \"AUTHENTICATION_FAILED\";\n BiometricAuthError[BiometricAuthError[\"APP_CANCEL\"] = 11] = \"APP_CANCEL\";\n BiometricAuthError[BiometricAuthError[\"INVALID_CONTEXT\"] = 12] = \"INVALID_CONTEXT\";\n BiometricAuthError[BiometricAuthError[\"NOT_INTERACTIVE\"] = 13] = \"NOT_INTERACTIVE\";\n BiometricAuthError[BiometricAuthError[\"PASSCODE_NOT_SET\"] = 14] = \"PASSCODE_NOT_SET\";\n BiometricAuthError[BiometricAuthError[\"SYSTEM_CANCEL\"] = 15] = \"SYSTEM_CANCEL\";\n BiometricAuthError[BiometricAuthError[\"USER_CANCEL\"] = 16] = \"USER_CANCEL\";\n BiometricAuthError[BiometricAuthError[\"USER_FALLBACK\"] = 17] = \"USER_FALLBACK\";\n})(BiometricAuthError || (BiometricAuthError = {}));\n//# sourceMappingURL=definitions.js.map","import { registerPlugin } from \"@capacitor/core\";\nconst NativeBiometric = registerPlugin(\"NativeBiometric\", {\n web: () => import(\"./web\").then((m) => new m.NativeBiometricWeb()),\n});\nexport * from \"./definitions\";\nexport { NativeBiometric };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from \"@capacitor/core\";\nexport class NativeBiometricWeb extends WebPlugin {\n constructor() {\n super();\n }\n isAvailable() {\n throw new Error(\"Method not implemented.\");\n }\n verifyIdentity(_options) {\n throw new Error(\"Method not implemented.\");\n }\n getCredentials(_options) {\n throw new Error(\"Method not implemented.\");\n }\n setCredentials(_options) {\n throw new Error(\"Method not implemented.\");\n }\n deleteCredentials(_options) {\n throw new Error(\"Method not implemented.\");\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["BiometryType","BiometricAuthError","registerPlugin","WebPlugin"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/definitions.js","esm/index.js","esm/web.js"],"sourcesContent":["export var BiometryType;\n(function (BiometryType) {\n // Android, iOS\n BiometryType[BiometryType[\"NONE\"] = 0] = \"NONE\";\n // iOS\n BiometryType[BiometryType[\"TOUCH_ID\"] = 1] = \"TOUCH_ID\";\n // iOS\n BiometryType[BiometryType[\"FACE_ID\"] = 2] = \"FACE_ID\";\n // Android\n BiometryType[BiometryType[\"FINGERPRINT\"] = 3] = \"FINGERPRINT\";\n // Android\n BiometryType[BiometryType[\"FACE_AUTHENTICATION\"] = 4] = \"FACE_AUTHENTICATION\";\n // Android\n BiometryType[BiometryType[\"IRIS_AUTHENTICATION\"] = 5] = \"IRIS_AUTHENTICATION\";\n // Android\n BiometryType[BiometryType[\"MULTIPLE\"] = 6] = \"MULTIPLE\";\n})(BiometryType || (BiometryType = {}));\n/**\n * Keep this in sync with BiometricAuthError in README.md\n * Update whenever `convertToPluginErrorCode` functions are modified\n */\nexport var BiometricAuthError;\n(function (BiometricAuthError) {\n BiometricAuthError[BiometricAuthError[\"UNKNOWN_ERROR\"] = 0] = \"UNKNOWN_ERROR\";\n BiometricAuthError[BiometricAuthError[\"BIOMETRICS_UNAVAILABLE\"] = 1] = \"BIOMETRICS_UNAVAILABLE\";\n BiometricAuthError[BiometricAuthError[\"USER_LOCKOUT\"] = 2] = \"USER_LOCKOUT\";\n BiometricAuthError[BiometricAuthError[\"BIOMETRICS_NOT_ENROLLED\"] = 3] = \"BIOMETRICS_NOT_ENROLLED\";\n BiometricAuthError[BiometricAuthError[\"USER_TEMPORARY_LOCKOUT\"] = 4] = \"USER_TEMPORARY_LOCKOUT\";\n BiometricAuthError[BiometricAuthError[\"AUTHENTICATION_FAILED\"] = 10] = \"AUTHENTICATION_FAILED\";\n BiometricAuthError[BiometricAuthError[\"APP_CANCEL\"] = 11] = \"APP_CANCEL\";\n BiometricAuthError[BiometricAuthError[\"INVALID_CONTEXT\"] = 12] = \"INVALID_CONTEXT\";\n BiometricAuthError[BiometricAuthError[\"NOT_INTERACTIVE\"] = 13] = \"NOT_INTERACTIVE\";\n BiometricAuthError[BiometricAuthError[\"PASSCODE_NOT_SET\"] = 14] = \"PASSCODE_NOT_SET\";\n BiometricAuthError[BiometricAuthError[\"SYSTEM_CANCEL\"] = 15] = \"SYSTEM_CANCEL\";\n BiometricAuthError[BiometricAuthError[\"USER_CANCEL\"] = 16] = \"USER_CANCEL\";\n BiometricAuthError[BiometricAuthError[\"USER_FALLBACK\"] = 17] = \"USER_FALLBACK\";\n})(BiometricAuthError || (BiometricAuthError = {}));\n//# sourceMappingURL=definitions.js.map","import { registerPlugin } from \"@capacitor/core\";\nconst NativeBiometric = registerPlugin(\"NativeBiometric\", {\n web: () => import(\"./web\").then((m) => new m.NativeBiometricWeb()),\n});\nexport * from \"./definitions\";\nexport { NativeBiometric };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from \"@capacitor/core\";\nexport class NativeBiometricWeb extends WebPlugin {\n constructor() {\n super();\n }\n isAvailable() {\n throw new Error(\"Method not implemented.\");\n }\n verifyIdentity(_options) {\n throw new Error(\"Method not implemented.\");\n }\n getCredentials(_options) {\n throw new Error(\"Method not implemented.\");\n }\n setCredentials(_options) {\n throw new Error(\"Method not implemented.\");\n }\n deleteCredentials(_options) {\n throw new Error(\"Method not implemented.\");\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["BiometryType","BiometricAuthError","registerPlugin","WebPlugin"],"mappings":";;;AAAWA,kCAAa;IACxB,CAAC,UAAU,YAAY,EAAE;IACzB;IACA,IAAI,YAAY,CAAC,YAAY,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC;IACpD;IACA,IAAI,YAAY,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC;IAC5D;IACA,IAAI,YAAY,CAAC,YAAY,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS,CAAC;IAC1D;IACA,IAAI,YAAY,CAAC,YAAY,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,GAAG,aAAa,CAAC;IAClE;IACA,IAAI,YAAY,CAAC,YAAY,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC,GAAG,qBAAqB,CAAC;IAClF;IACA,IAAI,YAAY,CAAC,YAAY,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC,GAAG,qBAAqB,CAAC;IAClF;IACA,IAAI,YAAY,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC;IAC5D,CAAC,EAAEA,oBAAY,KAAKA,oBAA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,kBAAkB,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC,GAAG,eAAe,CAAC;IACnF,CAAC,EAAEA,0BAAkB,KAAKA,0BAAkB,GAAG,EAAE,CAAC,CAAC;;ACnC9C,UAAC,eAAe,GAAGC,mBAAc,CAAC,iBAAiB,EAAE;IAC1D,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,kBAAkB,EAAE,CAAC;IACtE,CAAC;;ICFM,MAAM,kBAAkB,SAASC,cAAS,CAAC;IAClD,IAAI,WAAW,GAAG;IAClB,QAAQ,KAAK,EAAE,CAAC;IAChB,KAAK;IACL,IAAI,WAAW,GAAG;IAClB,QAAQ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACnD,KAAK;IACL,IAAI,cAAc,CAAC,QAAQ,EAAE;IAC7B,QAAQ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACnD,KAAK;IACL,IAAI,cAAc,CAAC,QAAQ,EAAE;IAC7B,QAAQ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACnD,KAAK;IACL,IAAI,cAAc,CAAC,QAAQ,EAAE;IAC7B,QAAQ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACnD,KAAK;IACL,IAAI,iBAAiB,CAAC,QAAQ,EAAE;IAChC,QAAQ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACnD,KAAK;IACL;;;;;;;;;;;;;;;"}
|
|
@@ -4,16 +4,6 @@ import Capacitor
|
|
|
4
4
|
|
|
5
5
|
class PluginTests: XCTestCase {
|
|
6
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
7
|
func testEcho() {
|
|
18
8
|
// This is an example of a functional test case for a plugin.
|
|
19
9
|
// Use XCTAssert and related functions to verify your tests produce the correct results.
|
package/ios/Podfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PODS:
|
|
2
|
-
- Capacitor (
|
|
2
|
+
- Capacitor (6.0.0):
|
|
3
3
|
- CapacitorCordova
|
|
4
|
-
- CapacitorCordova (
|
|
4
|
+
- CapacitorCordova (6.0.0)
|
|
5
5
|
|
|
6
6
|
DEPENDENCIES:
|
|
7
7
|
- "Capacitor (from `../node_modules/@capacitor/ios`)"
|
|
@@ -14,9 +14,9 @@ EXTERNAL SOURCES:
|
|
|
14
14
|
:path: "../node_modules/@capacitor/ios"
|
|
15
15
|
|
|
16
16
|
SPEC CHECKSUMS:
|
|
17
|
-
Capacitor:
|
|
18
|
-
CapacitorCordova:
|
|
17
|
+
Capacitor: 559d073c4ca6c27f8e7002c807eea94c3ba435a9
|
|
18
|
+
CapacitorCordova: 8c4bfdf69368512e85b1d8b724dd7546abeb30af
|
|
19
19
|
|
|
20
20
|
PODFILE CHECKSUM: 1033dea949db4aa66cc0404a8baadac4a30dd025
|
|
21
21
|
|
|
22
|
-
COCOAPODS: 1.
|
|
22
|
+
COCOAPODS: 1.15.2
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Capacitor",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"summary": "Capacitor for iOS",
|
|
5
5
|
"social_media_url": "https://twitter.com/capacitorjs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,16 +13,13 @@
|
|
|
13
13
|
},
|
|
14
14
|
"source": {
|
|
15
15
|
"git": "https://github.com/ionic-team/capacitor.git",
|
|
16
|
-
"tag": "
|
|
16
|
+
"tag": "6.0.0"
|
|
17
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
|
-
],
|
|
18
|
+
"source_files": "Capacitor/Capacitor/**/*.{swift,h,m}",
|
|
23
19
|
"module_map": "Capacitor/Capacitor/Capacitor.modulemap",
|
|
24
20
|
"resources": [
|
|
25
|
-
"Capacitor/Capacitor/assets/native-bridge.js"
|
|
21
|
+
"Capacitor/Capacitor/assets/native-bridge.js",
|
|
22
|
+
"Capacitor/Capacitor/PrivacyInfo.xcprivacy"
|
|
26
23
|
],
|
|
27
24
|
"dependencies": {
|
|
28
25
|
"CapacitorCordova": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "CapacitorCordova",
|
|
3
3
|
"module_name": "Cordova",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "6.0.0",
|
|
5
5
|
"summary": "Capacitor Cordova Compatibility Layer",
|
|
6
6
|
"homepage": "https://capacitorjs.com",
|
|
7
7
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"source": {
|
|
12
12
|
"git": "https://github.com/ionic-team/capacitor",
|
|
13
|
-
"tag": "
|
|
13
|
+
"tag": "6.0.0"
|
|
14
14
|
},
|
|
15
15
|
"platforms": {
|
|
16
16
|
"ios": "13.0"
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
"CapacitorCordova/CapacitorCordova/CapacitorCordova.h"
|
|
22
22
|
],
|
|
23
23
|
"module_map": "CapacitorCordova/CapacitorCordova/CapacitorCordova.modulemap",
|
|
24
|
+
"resources": [
|
|
25
|
+
"CapacitorCordova/CapacitorCordova/PrivacyInfo.xcprivacy"
|
|
26
|
+
],
|
|
24
27
|
"requires_arc": true,
|
|
25
28
|
"frameworks": "WebKit"
|
|
26
29
|
}
|
package/ios/Pods/Manifest.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PODS:
|
|
2
|
-
- Capacitor (
|
|
2
|
+
- Capacitor (6.0.0):
|
|
3
3
|
- CapacitorCordova
|
|
4
|
-
- CapacitorCordova (
|
|
4
|
+
- CapacitorCordova (6.0.0)
|
|
5
5
|
|
|
6
6
|
DEPENDENCIES:
|
|
7
7
|
- "Capacitor (from `../node_modules/@capacitor/ios`)"
|
|
@@ -14,9 +14,9 @@ EXTERNAL SOURCES:
|
|
|
14
14
|
:path: "../node_modules/@capacitor/ios"
|
|
15
15
|
|
|
16
16
|
SPEC CHECKSUMS:
|
|
17
|
-
Capacitor:
|
|
18
|
-
CapacitorCordova:
|
|
17
|
+
Capacitor: 559d073c4ca6c27f8e7002c807eea94c3ba435a9
|
|
18
|
+
CapacitorCordova: 8c4bfdf69368512e85b1d8b724dd7546abeb30af
|
|
19
19
|
|
|
20
20
|
PODFILE CHECKSUM: 1033dea949db4aa66cc0404a8baadac4a30dd025
|
|
21
21
|
|
|
22
|
-
COCOAPODS: 1.
|
|
22
|
+
COCOAPODS: 1.15.2
|