@capgo/inappbrowser 7.27.2 → 7.27.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.
|
@@ -50,7 +50,7 @@ import org.json.JSONObject;
|
|
|
50
50
|
)
|
|
51
51
|
public class InAppBrowserPlugin extends Plugin implements WebViewDialog.PermissionHandler {
|
|
52
52
|
|
|
53
|
-
private final String
|
|
53
|
+
private final String pluginVersion = "7.27.3";
|
|
54
54
|
|
|
55
55
|
public static final String CUSTOM_TAB_PACKAGE_NAME = "com.android.chrome"; // Change when in stable
|
|
56
56
|
private CustomTabsClient customTabsClient;
|
|
@@ -924,7 +924,7 @@ public class InAppBrowserPlugin extends Plugin implements WebViewDialog.Permissi
|
|
|
924
924
|
public void getPluginVersion(final PluginCall call) {
|
|
925
925
|
try {
|
|
926
926
|
final JSObject ret = new JSObject();
|
|
927
|
-
ret.put("version", this.
|
|
927
|
+
ret.put("version", this.pluginVersion);
|
|
928
928
|
call.resolve(ret);
|
|
929
929
|
} catch (final Exception e) {
|
|
930
930
|
call.reject("Could not get plugin version", e);
|
|
@@ -24,7 +24,7 @@ extension UIColor {
|
|
|
24
24
|
*/
|
|
25
25
|
@objc(InAppBrowserPlugin)
|
|
26
26
|
public class InAppBrowserPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
27
|
-
private let
|
|
27
|
+
private let pluginVersion: String = "7.27.3"
|
|
28
28
|
public let identifier = "InAppBrowserPlugin"
|
|
29
29
|
public let jsName = "InAppBrowser"
|
|
30
30
|
public let pluginMethods: [CAPPluginMethod] = [
|
|
@@ -862,7 +862,7 @@ public class InAppBrowserPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
862
862
|
}
|
|
863
863
|
|
|
864
864
|
@objc func getPluginVersion(_ call: CAPPluginCall) {
|
|
865
|
-
call.resolve(["version": self.
|
|
865
|
+
call.resolve(["version": self.pluginVersion])
|
|
866
866
|
}
|
|
867
867
|
|
|
868
868
|
}
|