Skip to content

Commit

Permalink
feat(app-launcher): make openUrl open urls on web (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Dec 22, 2020
1 parent a69cfe7 commit 2eba7b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app-launcher/src/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export class AppLauncherWeb extends WebPlugin implements AppLauncherPlugin {
return { value: true };
}

async openUrl(_options: OpenURLOptions): Promise<OpenURLResult> {
async openUrl(options: OpenURLOptions): Promise<OpenURLResult> {
window.open(options.url, '_blank');
return { completed: true };
}
}

0 comments on commit 2eba7b4

Please sign in to comment.