ohh2ahh / AppAvailability

This Cordova / PhoneGap plugin allows you to check if an app is installed.
229 stars 116 forks source link

Move this plugin to the cordova.plugins namespace #35

Closed pke closed 7 years ago

pke commented 8 years ago

Thanks for this plugin! However this plugin pollutes the global namespace. Imho it should install itself into cordova.plugins or just set a isAppAvailable or canLaunch on cordova. This could be done with back-compatibility and a deprecation warning to the console. If you agree I'd create a PR.

ohh2ahh commented 7 years ago

This is probably a good idea and I would gladly appreciate a pull request (maybe checkAppAvailability?). The back-compatibility would be very important of course :) Thanks!