如何使用Ionic 2框架打开安装在手机上的外部应用?我没有在ionic-native中找到任何插件。我尝试在ionic2中使用com.lampa.startapp,就像我在ionic1中使用的一样。但是windows.plugins总是返回未定义的。
发布于 2017-12-08 18:58:46
我使用过Cordova插件cordova-plugin-inappbrowser,使用Ionic In App Browser进行安装。
在Ionic forum中有对此的详细描述。
import { InAppBrowser } from '@ionic-native/in-app-browser';
constructor(public appBrowser: InAppBrowser) { }
// in some function
this.appBrowser.create('vnd.youtube://', '_system'); // Youtube
this.appBrowser.create('twitter://user?screen_name=', '_system');https://stackoverflow.com/questions/39159142
复制相似问题