I use lampa.startapp
cordova plugin to know if apps are installed and to launch external apps on a device running my app (see: com.lampa.startapp
).
navigator.startApp.check("com.application.name", function(message) { /* success */
console.log(message); // => OK
},
function(error) { /* error */
console.log(error);
});
But I need to know the version of another app installed on a device (not the current one) and this plugin does not seem to do this.
For example : I installed "myApp" Cordova app on a device. In these app, i want to check if "twitter" app is installed and if yes get "Twitter" version.
Does anyone know a method to get this app version?