Comments (4)
I haven't done my own research on this topic yet, but others did so, in case you haven't yet found these: SO Topic 1, SO Topic 2, Radius Networks Research
Based on those my key takeaways are as follows:
- Upgrade to iOS 7.1.x if you haven't yet done so, Apple improved the usability of the iBeacon related APIs there, as far as I remember.
- Take your time when testing, sometimes stuff just takes a lot of time, as stated by others.
- For me personally it seems that you just cannot count on things to work with a guaranteed latency yet, but I would expect later versions of iOS/iDevices to improve on that.
Sorry that I couldn't provide a more convincing answer to this one, if you have any other questions feel free to ask.
Peter
from cordova-plugin-ibeacon.
Hi,
Thank you for this plugin that works perfectly for me when app is launched.
But I tried to throw a notification when the app is in background or closed as it seems possible with the iOS7.1 , I added cordova-plugin-local-notifications to throw notification when iBeacon on sight :
window.plugin.notification.local.add({ message: 'BEACON1!'+beacon1_seen.count });
And forced these notification parameters into CDVIBeacon.m file :
398. beaconRegion.notifyOnEntry = true;
399. beaconRegion.notifyOnExit = true;
400. beaconRegion.notifyEntryStateOnDisplay= true;
It results in notifications thrown when i switch ipad off then on (so notifyEntryStateOnDisplay works well), but none when ipad is launched and application in background or off...
As I'm new to cordova application, i wondered if i've done something wrong or if i missed a step ?
Is it also possible to directly launch the closed application from an iBeacon on sight, using this plugin ?
Thank you very much for these answers.
from cordova-plugin-ibeacon.
Hi @julienandre
As I recently discovered, the reliability of callbacks for region monitoring (circular and beacon regions) are not perfect at the moment, when it comes to closed apps.
The version 2 branch will make a significant improvement on this, but is yet incomplete.
I'd suggest waiting for the release of the version 2 (should happen in a week or two) and then doing your tests again.
from cordova-plugin-ibeacon.
The version 2 branch is now released, and it should solve this issue with the new callback mechanism between the native layer and the DOM.
Please feel free to reopen this if any issues arise after upgrading to the version branch.
Important note: Version 2 significantly changes the API surface by being based on promises as the return values.
from cordova-plugin-ibeacon.
Related Issues (20)
- trying to use in Ionic/Capacitor env. , no response HOT 8
- what is the identifier used for? looking at all the underlying code it isn't used for beacon recognizing. HOT 2
- when debug is enabled, where is it viewable or stored? HOT 1
- how do I build another version of this library? HOT 1
- using thru Ionic-Native with Capacitor on android , Uncaught (in promise) TypeError: e.beacon.stopRangingBeaconsInRegion is not a function HOT 1
- i expect to see duplicates of beacons where there are multiple, but only see one.. am I doing something wrong? HOT 2
- is there a way to get the mac address of the beacon? HOT 1
- Does this plugin support android 9 and greater ? HOT 7
- Read custom field
- No beacons are found in Andoid 11 smartphones HOT 1
- exitRegion configuration timeout request
- Error: Importing IBeacon which does not have a ɵmod property
- Question: How can I decrease advertising interval as ibeacon device in android and ios?
- Sometimes Beacons within the range are detected differently. HOT 1
- Major and minor with wrong values HOT 1
- Compatibility with Android 12 HOT 4
- Add support of Android 12 (Google API 31) HOT 21
- Use plugin on iOS16+, there's no beacons response from callback! What does can we do on iOS16+
- cordova-plugin-ibeacon not working starting android 11 HOT 7
- Dependency missing in build.gradle for org.altbeacon:android-beacon-library:2.16.1 HOT 4
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 cordova-plugin-ibeacon.