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 -

Powerbuilder 12.1 and DataWindow in Design vs Debug and Executable/Runtime -

css3 - HTML Block Anchor element only half clickable in Chrome -