if (window.plugins.webintent) {
|
window.plugins.webintent.startActivity({
|
action: WebIntent.ACTION_VIEW,,
|
url: link,
|
type: mimetype['type']},
|
WebIntent is undefined. The plugin suggest to use window.plugins.webintent.ACTION_VIEW but then it's still undefined. I didn't look much further (I guess there some wrong order in the call that make it not being initialised)