javascript - Cordova plugin not being loaded into the DOM -


I am trying to use the Cordova plugin in one of my ionic apps, I have installed it with it:

  add the Cordova plugin https://github.com/christocracy/cordova-plugin-background-geolocation.git  

More demo sets as an example Please. However, this is not being loaded as is in README, you should use them with:

  window.plugins.backgroundGeoLocation  

However , It is undefined. What is the correct way to install / open it?


Comments

Popular posts from this blog

c++ - C/pp Sockets, recv()/send() works only under gdb -

GO: Serve static pages -

objective c - How to open front/back camera at the same time in iOS developing? -