rauschma / openurl

Node.js module for opening a URL via the operating system
71 stars 19 forks source link

android support added #8

Open moldabekov opened 6 years ago

moldabekov commented 6 years ago

Packages that rely on openurl and run within termux are unsupported. For example Localtunnel. Actually termux has it's own xdg-open, so it's totally okay to handle process.platform === 'android'.

TheComputerGuy96 commented 6 years ago

Or for extra compatibility: command = 'am start --user 0 -a android.intent.action.VIEW -d'