@capgo/capacitor-autofill-save-password 7.2.1 → 7.2.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
|
@@ -5,8 +5,8 @@ Prompt to display dialog for saving password to keychain from webview app
|
|
|
5
5
|
<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>
|
|
6
6
|
|
|
7
7
|
<div align="center">
|
|
8
|
-
<h2><a href="https://capgo.app/?ref=
|
|
9
|
-
<h2><a href="https://capgo.app/consulting/?ref=
|
|
8
|
+
<h2><a href="https://capgo.app/?ref=plugin_autofill_save_password"> ➡️ Get Instant updates for your App with Capgo</a></h2>
|
|
9
|
+
<h2><a href="https://capgo.app/consulting/?ref=plugin_autofill_save_password"> Missing a feature? We’ll build the plugin for you 💪</a></h2>
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
12
|
Fork of original plugin to work with Capacitor 7
|
|
@@ -28,7 +28,7 @@ import java.util.Map;
|
|
|
28
28
|
@CapacitorPlugin(name = "SavePassword")
|
|
29
29
|
public class SavePasswordPlugin extends Plugin {
|
|
30
30
|
|
|
31
|
-
private final String
|
|
31
|
+
private final String pluginVersion = "7.2.3";
|
|
32
32
|
private static final String TAG = "CredentialManager";
|
|
33
33
|
private CredentialManager credentialManager;
|
|
34
34
|
private Map<String, PendingGetCredentialRequest> pendingRequestsByElementId = new HashMap<>();
|
|
@@ -170,7 +170,7 @@ public class SavePasswordPlugin extends Plugin {
|
|
|
170
170
|
public void getPluginVersion(final PluginCall call) {
|
|
171
171
|
try {
|
|
172
172
|
final JSObject ret = new JSObject();
|
|
173
|
-
ret.put("version", this.
|
|
173
|
+
ret.put("version", this.pluginVersion);
|
|
174
174
|
call.resolve(ret);
|
|
175
175
|
} catch (final Exception e) {
|
|
176
176
|
call.reject("Could not get plugin version", e);
|
|
@@ -9,7 +9,7 @@ import AuthenticationServices
|
|
|
9
9
|
*/
|
|
10
10
|
@objc(SavePasswordPlugin)
|
|
11
11
|
public class SavePasswordPlugin: CAPPlugin, CAPBridgedPlugin, ASAuthorizationControllerDelegate, ASAuthorizationControllerPresentationContextProviding {
|
|
12
|
-
private let
|
|
12
|
+
private let pluginVersion: String = "7.2.3"
|
|
13
13
|
public let identifier = "SavePasswordPlugin"
|
|
14
14
|
|
|
15
15
|
public let jsName = "SavePassword"
|
|
@@ -101,6 +101,6 @@ public class SavePasswordPlugin: CAPPlugin, CAPBridgedPlugin, ASAuthorizationCon
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
@objc func getPluginVersion(_ call: CAPPluginCall) {
|
|
104
|
-
call.resolve(["version": self.
|
|
104
|
+
call.resolve(["version": self.pluginVersion])
|
|
105
105
|
}
|
|
106
106
|
}
|
package/package.json
CHANGED