How to handle Magnet Links to Invoke/Open Installed Torrent App?

[ONLY ANDROID] How to Handle Magnet Links to open in any Torrent App? There are tons of Torrent Apps in store. So can’t invoke using custom URL scheme…

I tried with InAppBrowser to open Magnet link. but fails. Please let me know how to handle this? Is it even Possible using InAppBrowser or do I have to use any other plugins?

This Code works Perfectly.

   const Ionicbrowser = this.inAppBrowser.create('');
    Ionicbrowser.executeScript({code: "(function() {  })()"});

If i use Magnet protocal instead of Http or Https. Its not working.

 const Ionicbrowser = _this.iab.create('magnet:?xt=urn:btih:59066769b9ad42da2e508611c33d7c4480b3857b&dn=ubuntu-17.04-desktop-amd64.iso&');
                Ionicbrowser.executeScript({code: "(function() {  })()"});

you are almost there, you just need to add one more parameter to the inAppBrowser instance

const browser = this.iab.create('magnet:?xt=urn:btih:59066769b9ad42da2e508611c33d7c4480b3857b&dn=ubuntu-17.04-desktop-amd64.iso&','_system');
browser.executeScript({code: "(function() {  })()"});