@capacitor/app-launcher
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.3.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app-launcher@0.2.1...@capacitor/app-launcher@0.3.0) (2020-12-27) | ||
### Features | ||
* **app-launcher:** make openUrl open urls on web ([#152](https://github.com/ionic-team/capacitor-plugins/issues/152)) ([2eba7b4](https://github.com/ionic-team/capacitor-plugins/commit/2eba7b41a05be2f63c916f51aa4b36ef548ef87c)) | ||
## [0.2.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app-launcher@0.2.0...@capacitor/app-launcher@0.2.1) (2020-12-20) | ||
@@ -8,0 +19,0 @@ |
@@ -5,3 +5,3 @@ import { WebPlugin } from '@capacitor/core'; | ||
canOpenUrl(_options: CanOpenURLOptions): Promise<CanOpenURLResult>; | ||
openUrl(_options: OpenURLOptions): Promise<OpenURLResult>; | ||
openUrl(options: OpenURLOptions): Promise<OpenURLResult>; | ||
} |
@@ -6,3 +6,4 @@ import { WebPlugin } from '@capacitor/core'; | ||
} | ||
async openUrl(_options) { | ||
async openUrl(options) { | ||
window.open(options.url, '_blank'); | ||
return { completed: true }; | ||
@@ -9,0 +10,0 @@ } |
@@ -12,3 +12,4 @@ var capacitorAppLauncher = (function (exports, core) { | ||
} | ||
async openUrl(_options) { | ||
async openUrl(options) { | ||
window.open(options.url, '_blank'); | ||
return { completed: true }; | ||
@@ -15,0 +16,0 @@ } |
{ | ||
"name": "@capacitor/app-launcher", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "The AppLauncher API allows to open other apps", | ||
@@ -46,6 +46,6 @@ "main": "dist/esm/index.js", | ||
"devDependencies": { | ||
"@capacitor/android": "^3.0.0-alpha.10", | ||
"@capacitor/android": "^3.0.0-alpha.11", | ||
"@capacitor/core": "^3.0.0-alpha.9", | ||
"@capacitor/docgen": "0.0.14", | ||
"@capacitor/ios": "^3.0.0-alpha.9", | ||
"@capacitor/ios": "^3.0.0-alpha.11", | ||
"@ionic/eslint-config": "^0.3.0", | ||
@@ -81,3 +81,3 @@ "@ionic/prettier-config": "~1.0.1", | ||
}, | ||
"gitHead": "481260d148b920b85755dd5f9b65df0bb0db4244" | ||
"gitHead": "af50d10488d47e2479d089abadd2fb41745edb5a" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
24216
213
0