@capacitor/app-launcher
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.0.3](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app-launcher@1.0.2...@capacitor/app-launcher@1.0.3) (2021-08-18) | ||
**Note:** Version bump only for package @capacitor/app-launcher | ||
## [1.0.2](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app-launcher@1.0.1...@capacitor/app-launcher@1.0.2) (2021-06-23) | ||
@@ -8,0 +16,0 @@ |
@@ -49,3 +49,3 @@ { | ||
], | ||
"docs": "Open an app with the given URL.", | ||
"docs": "Open an app with the given URL.\nOn iOS the URL should be a known URLScheme.\nOn Android the URL can be a known URLScheme or an app package name.", | ||
"complexTypes": [ | ||
@@ -52,0 +52,0 @@ "OpenURLResult", |
@@ -19,2 +19,4 @@ export interface AppLauncherPlugin { | ||
* Open an app with the given URL. | ||
* On iOS the URL should be a known URLScheme. | ||
* On Android the URL can be a known URLScheme or an app package name. | ||
* | ||
@@ -21,0 +23,0 @@ * @since 1.0.0 |
{ | ||
"name": "@capacitor/app-launcher", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "The AppLauncher API allows to open other apps", | ||
@@ -81,3 +81,3 @@ "main": "dist/plugin.cjs.js", | ||
}, | ||
"gitHead": "8b20a24ada3d3f96944aaa7023c4409c2bdb12c5" | ||
"gitHead": "31cfdb4ae1b87360a94535cbbca57274e215df09" | ||
} |
# @capacitor/app-launcher | ||
The AppLauncher API allows your app to open other apps | ||
The AppLauncher API allows your app to check if an app can be opened and open it. | ||
On iOS you can only open apps if you know their url scheme. | ||
On Android you can open apps if you know their url scheme or use their public package name. | ||
**Note:** On [Android 11](https://developer.android.com/about/versions/11/privacy/package-visibility) and newer you have to add the app package names you want to query in the `AndroidManifest.xml` inside the `queries` tag. | ||
Example: | ||
```xml | ||
<queries> | ||
<package android:name="com.getcapacitor.myapp" /> | ||
</queries> | ||
``` | ||
## Install | ||
@@ -76,2 +89,4 @@ | ||
Open an app with the given URL. | ||
On iOS the URL should be a known URLScheme. | ||
On Android the URL can be a known URLScheme or an app package name. | ||
@@ -78,0 +93,0 @@ | Param | Type | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31195
237
134