App Launcher
Simple Cordova plugin to see if other apps are installed and launch them.
Cordovaの問題で困っていますか?

本格的なプロジェクトを構築している場合、トラブルシューティングに時間を費やす余裕はありません。Ionicのエキスパートが、保守、サポート、統合に関する公式サポートを提供しています。
インストール
Ionic Native Enterprise はIonic Teamが完全にサポートしメンテナンスしているプラグインを利用できます。 詳しくみる か、 エンタープライズプラグインに興味があれば 連絡ください
サポートしているプラットフォーム
- Android
- iOS
利用方法
React
Angular
import { AppLauncher, AppLauncherOptions } from '@ionic-native/app-launcher/ngx';
import { Platform } from '@ionic/angular';
constructor(private appLauncher: AppLauncher, private platform: Platform) { }
...
const options: AppLauncherOptions = {
}
if(this.platform.is('ios')) {
options.uri = 'fb://'
} else {
options.packageName = 'com.facebook.katana'
}
this.appLauncher.canLaunch(options)
.then((canLaunch: boolean) => console.log('Facebook is available'))
.catch((error: any) => console.error('Facebook is not available'));