Comments (4)
Hi Frank. I'm searching for same answer as you, do you have a solution?
from background-beacon-monitoring.
Download the plugin into your project then create package.json using
go to the folderpath then type
plugman createpackagejson .
after that you will be able to add this plugin
cordova plugin add path of your project
After that you will be able to see it cordova plugins
After import statements write this line
declare var BackgroundBeaconMonitoring:any;
platform.ready().then(() => {
BackgroundBeaconMonitoring.requestPermissions(
function() {
console.log("we got permissions");
},
function() {
console.log("we don't got permissions");
});
});
remember one thing after platform ready then only plugin will be accessible.
I hope this helps
from background-beacon-monitoring.
Hi, there is a code that help me a lot and worked to me https://ionicallyspeaking.com/2017/01/16/creating-a-beacon-application-with-ionic-2/
I suggest you to check out the ionic's forum you will find to much help.
from background-beacon-monitoring.
Hi, The link is Fine But This plugin is useful you for keeping your Application alive in the background so use this plugin if you want to run your service Alive even App closed.
from background-beacon-monitoring.
Related Issues (10)
- exit region HOT 1
- background monitoring not giving didenter or didexit notifications in android?
- Is notification not getting from Enter/Exit Region in Background Mode ?
- Problem, BackgroundPowerSaver: Context is not an application instance, so we cannot use the BackgroundPowerSaver
- No success or error callbacks for request permissions HOT 1
- Can't find BackgroundBeaconMonitoring HOT 1
- Remember previous registred regions when app is in background HOT 2
- generic version HOT 1
- Question - working with cordova-plugin-ibeacon HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from background-beacon-monitoring.