1 Reply Latest reply on Oct 3, 2017 12:44 AM by svantej81806167

    How to access plugin variable in typescript?

    svantej81806167 Level 1

      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?