ibeacon

Beacon monitoring after reboot with iOS10

扶醉桌前 提交于 2019-12-30 13:27:35
问题 With iOS9, my app was able to detect beacons even iPhone was restarting. With iOS10 this feature is no more working. It seems that with iOS10 "monitored beacon list" is not restarted agter a phone reboot. Any idea ? 回答1: There have been a number of reports of failing to monitor beacons in the background after an upgrade to iOS 10. Try this: Setting -> General -> Reset -> Reset Network Settings Launch your app, verifying beacon detection in the foreground Turn off your beacon or leave range to

Measure distance to iBeacon from Android device

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-30 06:49:07
问题 I am working on an app that has to measure the distance to an iBeacon. When a user is within a distance (1 meter) the user should be notified. It is working fine on iOS but on Android I get various results. I am using the Estimote Android SDK (https://github.com/Estimote/Android-SDK) and Android 4.3. Below is measurement from a Nexus 4 and a Nexus 5. The iBeacon is placed one meter away from the phone (the measurements are consistent with more samples): Nexus 4: 08-25 11:39:04.788: : Major:

CBPeripheralManager startAdvertising not working on OS X yosemite

别等时光非礼了梦想. 提交于 2019-12-30 06:36:04
问题 does anyone notice any issues when using your mac (running OS X 10.10 yosemite DP 6) as an iBeacon? I tried several tools and I also developed it myself (using the CBPeripheralManager startAdvertising) but without any luck. When running those apps (+ the the code I developed myself) on a mac running OS X 10.9 Mavericks, it works like a charm. Is there anything specific required for OS X 10.10 yosemite or is this a bug? Any help is appreciated! 回答1: EDIT: Radius Networks has confirmed this

Swift2.3 code for Beacon detection

故事扮演 提交于 2019-12-29 04:57:08
问题 We are in advanced stages of developing a Swift2.2 app and hence have decided to migrate to 2.3 in the interim and do the full Swift 3 migration later. However we are unable to get beacon detection working post conversion to Swift 2.3. The method "didRangeBeacons" keeps returning an empty array. The same code was working in Swift 2.2 so we know we have all the permissions etc in place. Also if we open the "Locate" app on the same ipad then our app also starts returning data in

Can I launch an app in Foreground when I enter an iBeacon range?

。_饼干妹妹 提交于 2019-12-28 06:54:30
问题 I'm creating an app for iOS using iBeacons. I know, that if i set up a region to monitor, the framework can invoke my app when I enter/exit a region, or turn on the screen inside the region. I've managed to create a local notification in this callback as well. My question is, whether is it possible to bring the app into foreground, like if it was launched by the user? 回答1: No, I do not believe this is possible. Apple's philosophy is that the user is in control of what app is in the foreground

Region for LocationManager

ⅰ亾dé卋堺 提交于 2019-12-25 18:22:22
问题 I'm trying to create a region in order to tell my Location Manager which beacon I care about. I have generated a unique UUID for my beacon using the estimate app. However, I keep getting this error which I can't find a solution to. Could you please help me solve it. I have attached a screenshot below. Here is the coding in writing: let region = CLBeaconRegion(proximityUUID: NSUUID(UUIDString: "79A60506-EC33-44A4-AB5D-304816FEC4E2"), identifier: "Estimotes") This is the error: init(UUIDString:

Why doesn't it find my beacons?

六眼飞鱼酱① 提交于 2019-12-25 08:58:27
问题 I am writing both Android and iOS apps which need to find BLE beacons around the device. When I run my code from Android, it finds several beacons in the room I am in. I have 8 beacons. When I run the beacon code from iPhone, it returns a list of exactly 0 beacons. Here is my code: - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. self.locationManager = [[CLLocationManager alloc] init]; self.locationManager.delegate = self; [self initRegion]; [self

Can BLE peripheral mode trigger the disconnection or refuse to connect?

北战南征 提交于 2019-12-25 06:05:28
问题 Here's our situation. We have a machine vending machine run in peripheral mode and mobile runs in central mode. When the mobile is close to the vending machine, it triggers the connection and start to communicate. But as far as I know, the peripheral mode can only connect to one device at a time just considering bluetooh 4.0, so if there's someone who wants to make a trick stands around our vending machine and connects to it all the time, no one else can connect the vending machine. Am I

iOS Can not find the iBeacon again in fore ground

微笑、不失礼 提交于 2019-12-25 04:45:38
问题 Hi~ I'm learning to use CLLocationManager to detect iBeacon. I read this article: http://developer.radiusnetworks.com/2013/11/13/ibeacon-monitoring-in-the-background-and-foreground.html It says that startRangingBeaconsInRegion will make system scan beacon every second. I test and it's right. But a problem happens if the program only execute startMonitoringForRegion without startRangingBeaconsInRegion. My program can find the beacon first time I start a beacon hardware, and after I stop beacon

iBeacons: Detect proximity change in background

随声附和 提交于 2019-12-25 02:53:15
问题 I'm trying to understand how you are supposed to detect proximity changes in the background. The only window I get to range is when I enter a region, but this might be pretty far away. I would like to present something when the user enters "near" or "immidiate", but if you get "didEnterRegion" at far, than stand around, then approach the beacon, you don't get any more ranging time, because you are still in the same region. Is there a way to either extend the "ranging" time to let the user get