1. 添加插件:cordova plugin add cordova-plugin-file-opener2
2. 调用方法:
var target="/sdcard/Download/ionic.apk"; cordova.plugins.fileOpener2.open(target, 'application/vnd.android.package-archive');
1. 添加插件:cordova plugin add cordova-plugin-file-opener2
2. 调用方法:
var target="/sdcard/Download/ionic.apk"; cordova.plugins.fileOpener2.open(target, 'application/vnd.android.package-archive');