@capgo/capacitor-intent-launcher 8.3.34 → 8.3.35
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
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
# @capgo/capacitor-intent-launcher
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
Launch Android intents and open system settings screens from your Capacitor app, and open iOS settings pages. Send users straight to the setting they need to change.
|
|
4
|
+
|
|
5
|
+
<a href="https://capgo.app/?ref=plugin_intent_launcher"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-intent-launcher" alt="Capgo - Instant updates for Capacitor" /></a>
|
|
3
6
|
|
|
4
7
|
<div align="center">
|
|
5
|
-
<
|
|
6
|
-
<h2><a href="https://capgo.app/
|
|
8
|
+
<p><b>Capgo</b>: open-source live updates for Ionic and Capacitor apps. Ship OTA fixes and features instantly, without waiting for app store review.</p>
|
|
9
|
+
<h2><a href="https://capgo.app/register/?ref=plugin_intent_launcher">➡️ Get started for free</a></h2>
|
|
10
|
+
<p>14-day unlimited free trial. No credit card required</p>
|
|
11
|
+
<p><a href="https://capgo.app/consulting/?ref=plugin_intent_launcher">Missing a feature? We'll build the plugin for you 💪</a></p>
|
|
7
12
|
</div>
|
|
8
13
|
|
|
9
|
-
|
|
14
|
+
<p align="center">
|
|
15
|
+
<img src="https://raw.githubusercontent.com/Cap-go/capacitor-intent-launcher/main/assets/github-social-preview.png" alt="@capgo/capacitor-intent-launcher for Capacitor apps" width="300" />
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
## Key features
|
|
19
|
+
|
|
20
|
+
- **Android intents**: `startActivityAsync()` starts any activity with action, data, extras and flags, and returns the result.
|
|
21
|
+
- **iOS settings**: `openIOSSettings()` opens a settings screen.
|
|
22
|
+
- **Open apps**: `openApplication()` launches another app by package name on Android.
|
|
23
|
+
- **App icons**: `getApplicationIconAsync()` returns an installed app's icon as base64 on Android.
|
|
24
|
+
- **Platforms**: iOS and Android. Not available on web.
|
|
10
25
|
|
|
11
26
|
## Why Capacitor Intent Launcher?
|
|
12
27
|
|
|
@@ -26,7 +26,7 @@ import org.json.JSONObject;
|
|
|
26
26
|
@CapacitorPlugin(name = "IntentLauncher")
|
|
27
27
|
public class IntentLauncherPlugin extends Plugin {
|
|
28
28
|
|
|
29
|
-
private final String pluginVersion = "8.3.
|
|
29
|
+
private final String pluginVersion = "8.3.35";
|
|
30
30
|
|
|
31
31
|
@PluginMethod
|
|
32
32
|
public void startActivityAsync(PluginCall call) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/capacitor-intent-launcher",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.35",
|
|
4
4
|
"description": "Capacitor plugin to launch Android intents and open system settings screens on Android and iOS.",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|