I'm trying to get this plugin to run GitHub - mapsplugin/cordova-plugin-googlemaps: Google Maps plugin for Cordova , but I'm having difficulties because I keep getting a "plugin is not defined" error. Which makes sense because I don't have a variable like that in my code, as it comes from outside of my code.
How can I use that plugin or any other plugin that depends on the "plugin" object in my angular (4+)/typescript code?
I managed to get it working. Turns out the plugin can't be used with the phonegap developer app so have to manually build each time I make a change and then execute the android run command. Is there not a watch command when running on a device?