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

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -