@capgo/inappbrowser 7.28.0 → 7.28.2
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
|
@@ -8,6 +8,19 @@
|
|
|
8
8
|
|
|
9
9
|
Capacitor plugin in app browser with urlChangeEvent, two way communication, camera and microphone usage, etc.
|
|
10
10
|
|
|
11
|
+
## Why InAppBrowser?
|
|
12
|
+
|
|
13
|
+
The official Capacitor Browser plugin has strict security limitations that prevent advanced features. InAppBrowser removes these restrictions, enabling:
|
|
14
|
+
|
|
15
|
+
- **Two-way communication** between your app and the browser
|
|
16
|
+
- **JavaScript injection** for dynamic content manipulation
|
|
17
|
+
- **Camera and microphone access** within the browser context
|
|
18
|
+
- **URL change monitoring** for navigation tracking
|
|
19
|
+
- **Custom toolbars and UI** for branded experiences
|
|
20
|
+
- **Cookie and cache management** for session control
|
|
21
|
+
|
|
22
|
+
Perfect for OAuth flows, embedded web apps, video calls, and any scenario requiring deep integration with web content.
|
|
23
|
+
|
|
11
24
|
## Documentation
|
|
12
25
|
|
|
13
26
|
The most complete doc is available here: https://capgo.app/docs/plugins/inappbrowser/
|
|
@@ -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 pluginVersion = "7.28.
|
|
53
|
+
private final String pluginVersion = "7.28.2";
|
|
54
54
|
|
|
55
55
|
public static final String CUSTOM_TAB_PACKAGE_NAME = "com.android.chrome"; // Change when in stable
|
|
56
56
|
private CustomTabsClient customTabsClient;
|
|
@@ -24,7 +24,7 @@ extension UIColor {
|
|
|
24
24
|
*/
|
|
25
25
|
@objc(InAppBrowserPlugin)
|
|
26
26
|
public class InAppBrowserPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
27
|
-
private let pluginVersion: String = "7.28.
|
|
27
|
+
private let pluginVersion: String = "7.28.2"
|
|
28
28
|
public let identifier = "InAppBrowserPlugin"
|
|
29
29
|
public let jsName = "InAppBrowser"
|
|
30
30
|
public let pluginMethods: [CAPPluginMethod] = [
|