@capgo/capacitor-native-biometric 7.4.1 → 7.4.3
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/README.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
<a href="https://capgo.app/"><img src='https://raw.githubusercontent.com/Cap-go/capgo/main/assets/capgo_banner.png' alt='Capgo - Instant updates for capacitor'/></a>
|
|
3
3
|
|
|
4
4
|
<div align="center">
|
|
5
|
-
<h2><a href="https://capgo.app/?ref=
|
|
6
|
-
<h2><a href="https://capgo.app/consulting/?ref=
|
|
5
|
+
<h2><a href="https://capgo.app/?ref=plugin_native_biometric"> ➡️ Get Instant updates for your App with Capgo</a></h2>
|
|
6
|
+
<h2><a href="https://capgo.app/consulting/?ref=plugin_native_biometric"> Missing a feature? We’ll build the plugin for you 💪</a></h2>
|
|
7
7
|
</div>
|
|
8
8
|
|
|
9
9
|
|
|
@@ -51,7 +51,7 @@ import org.json.JSONException;
|
|
|
51
51
|
@CapacitorPlugin(name = "NativeBiometric")
|
|
52
52
|
public class NativeBiometric extends Plugin {
|
|
53
53
|
|
|
54
|
-
private final String
|
|
54
|
+
private final String pluginVersion = "7.3.2";
|
|
55
55
|
|
|
56
56
|
//protected final static int AUTH_CODE = 0102;
|
|
57
57
|
|
|
@@ -467,7 +467,7 @@ public class NativeBiometric extends Plugin {
|
|
|
467
467
|
public void getPluginVersion(final PluginCall call) {
|
|
468
468
|
try {
|
|
469
469
|
final JSObject ret = new JSObject();
|
|
470
|
-
ret.put("version", this.
|
|
470
|
+
ret.put("version", this.pluginVersion);
|
|
471
471
|
call.resolve(ret);
|
|
472
472
|
} catch (final Exception e) {
|
|
473
473
|
call.reject("Could not get plugin version", e);
|
|
@@ -9,7 +9,7 @@ import LocalAuthentication
|
|
|
9
9
|
|
|
10
10
|
@objc(NativeBiometricPlugin)
|
|
11
11
|
public class NativeBiometricPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
12
|
-
private let
|
|
12
|
+
private let pluginVersion: String = "7.4.3"
|
|
13
13
|
public let identifier = "NativeBiometricPlugin"
|
|
14
14
|
public let jsName = "NativeBiometric"
|
|
15
15
|
public let pluginMethods: [CAPPluginMethod] = [
|
|
@@ -297,6 +297,6 @@ public class NativeBiometricPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
@objc func getPluginVersion(_ call: CAPPluginCall) {
|
|
300
|
-
call.resolve(["version": self.
|
|
300
|
+
call.resolve(["version": self.pluginVersion])
|
|
301
301
|
}
|
|
302
302
|
}
|
package/package.json
CHANGED