3 Replies Latest reply on Jun 8, 2017 8:36 PM by howard_owens

    Working with device plug in

    howard_owens Level 1

      To install the device plugin, in my config.xml

       

      <gap:plugin name="cordova-plugin-device"  source="npm" />

       

      After a build, the device plugin shows up in the list.

       

      However, device.platform is throwing a jquery error.

       

      ReferenceError: Can't find variable: device

       

      What am I missing?