@capgo/capacitor-social-login 7.14.8 → 7.14.9
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.
|
@@ -18,7 +18,7 @@ import org.json.JSONObject;
|
|
|
18
18
|
@CapacitorPlugin(name = "SocialLogin")
|
|
19
19
|
public class SocialLoginPlugin extends Plugin {
|
|
20
20
|
|
|
21
|
-
private final String
|
|
21
|
+
private final String pluginVersion = "7.14.9";
|
|
22
22
|
|
|
23
23
|
public static String LOG_TAG = "CapgoSocialLogin";
|
|
24
24
|
|
|
@@ -281,7 +281,7 @@ public class SocialLoginPlugin extends Plugin {
|
|
|
281
281
|
public void getPluginVersion(final PluginCall call) {
|
|
282
282
|
try {
|
|
283
283
|
final JSObject ret = new JSObject();
|
|
284
|
-
ret.put("version", this.
|
|
284
|
+
ret.put("version", this.pluginVersion);
|
|
285
285
|
call.resolve(ret);
|
|
286
286
|
} catch (final Exception e) {
|
|
287
287
|
call.reject("Could not get plugin version", e);
|
|
@@ -7,7 +7,7 @@ import Capacitor
|
|
|
7
7
|
*/
|
|
8
8
|
@objc(SocialLoginPlugin)
|
|
9
9
|
public class SocialLoginPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
10
|
-
private let
|
|
10
|
+
private let pluginVersion: String = "7.14.9"
|
|
11
11
|
public let identifier = "SocialLoginPlugin"
|
|
12
12
|
public let jsName = "SocialLogin"
|
|
13
13
|
public let pluginMethods: [CAPPluginMethod] = [
|
|
@@ -26,7 +26,7 @@ public class SocialLoginPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
26
26
|
private let google = GoogleProvider()
|
|
27
27
|
|
|
28
28
|
@objc func getPluginVersion(_ call: CAPPluginCall) {
|
|
29
|
-
call.resolve(["version": self.
|
|
29
|
+
call.resolve(["version": self.pluginVersion])
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
@objc func initialize(_ call: CAPPluginCall) {
|