ibeacon

Phone act as beacon

余生颓废 提交于 2019-12-24 07:16:36
问题 I'm trying to make an hybrid app by which phone will act as beacon, which mean it should transmit both an iBeacon and an Eddystone. Is there any cordova plugin available if not can anyone please suggest how can I make one. 回答1: This Cordova plugin supports detection on both iOS and Android: https://github.com/petermetz/cordova-plugin-ibeacon It only supports transmission on iOS, but the underlying native Android Beacon Library it uses supports transmission: http://altbeacon.github.io/android

iBeacons: how to get broadcasted beacon power (txPower)

寵の児 提交于 2019-12-24 04:19:07
问题 iBeacons seem to broadcast their txPower parameter (report RSSI power at 1 meter distance) which is used in calculating beacon.accuracy and beacon.proximity properties (details on iBeacon advertisements packet can be found here). However, CLBeacon class does not seem to have a property for txPower. Is there a way I can get txPower using Core Location framework, or need I to go down to Core Bluetooth? The reason I need this, is I want to experiment with custom beacon accuracy/proximity

In iOS 8 Beacon not detecting

无人久伴 提交于 2019-12-24 03:19:30
问题 iBeacon suddenly stopped working in iOS8. Before it was working fine in previous iOS 8 versions. Anybody help me to come out from this problem? What is the problem, Thanks 回答1: What you need to do is to add request permission for accessing location services in the code, like the following: if([self.locationManager respondsToSelector:@selector(requestAlwaysAuthorization)]) { [self.locationManager requestAlwaysAuthorization]; } Also, in your app info.plist(AppName-info.plist), add the key

In iOS 8 Beacon not detecting

妖精的绣舞 提交于 2019-12-24 03:18:28
问题 iBeacon suddenly stopped working in iOS8. Before it was working fine in previous iOS 8 versions. Anybody help me to come out from this problem? What is the problem, Thanks 回答1: What you need to do is to add request permission for accessing location services in the code, like the following: if([self.locationManager respondsToSelector:@selector(requestAlwaysAuthorization)]) { [self.locationManager requestAlwaysAuthorization]; } Also, in your app info.plist(AppName-info.plist), add the key

locationManager:didRangeBeacons method not detecting BLE Device

核能气质少年 提交于 2019-12-24 01:37:15
问题 I'm using a Nordic BLE nRF8001 development kit for testing CoreBluetooth. Using CBCentralManager's methods(e.g. didDiscoverPeripheral(), didConnectPeripheral(), etc.) my iPhone 5 is able to detect the Nordic device's advertisements and connect to it just fine . However, I'm not receiving any response from the new locationManager ranging or regionMonitoring methods. Below I'll explain my setup: 1.) First I retrieved my NSUUID from my Nordic device in the didDiscoverPeripheral() delegate method

Is it possible to create a beacon with Classic Bluetooth?

为君一笑 提交于 2019-12-24 00:28:02
问题 I'm attempting to use a classic bluetooth chip to possibly send out signals to another device with a classic bluetooth chip. Now would it be possible to create a beacon with classic bluetooth? 回答1: You certainly can. A Bluetooth LE beacon typically sends out regular advertisements with a unique identifier that can be picked up by a receiving device (typically a mobile phone) doing a Bluetooth LE scan. Since you can also send out advertisements and do scans with classic Bluetooth, you could

Estimote iBeacons and Cordova - sending push notifications when app is killed iOS

a 夏天 提交于 2019-12-23 18:01:09
问题 I'm making an app with Apache Cordova with Evothings Javascript plugin and Estimote iBeacons. I've managed to get push notifications working with the Phonegap PushPlugin when the app is int eh background (not completely closed), however I want to take it a step further and receive a push notification when in range of the iBeacons when the app is completely killed. I've seen this is possible from various posts in the Estimote community and here on Stack overflow by using native Xcode

didRangeBeacon called without any beacons found

荒凉一梦 提交于 2019-12-23 09:10:33
问题 I registered my own location manager to monitor and range a few beacons: [self.locationManager startMonitoringForRegion:region]; [self.locationManager startRangingBeaconsInRegion:region]; My understanding is, when one or more beacons is found this delegate method is called: - (void)locationManager:(CLLocationManager *)manager didRangeBeacons:(NSArray *)beacons inRegion:(CLBeaconRegion *)region This delegate method is indeed called when I turned on my beacon, but the beacons array is empty. Is

swift, detect ibeacons on the background and send notifications when in range

懵懂的女人 提交于 2019-12-23 05:24:05
问题 Hello I'm new at IBeacons and beginner on swift and I'm trying to make a small app that detects Ibeacon on the background of the app and send a notification when the Ibeacon is in range I manage to do so but only when I walk while the app is open I could not make it work and search for Ibeacons on the background even though I gave the app access to take the location on the background by using if (CLLocationManager.authorizationStatus() != CLAuthorizationStatus.authorizedAlways) {

didEnterRegion is not Called but didExitRegion is Called in objective C

心不动则不痛 提交于 2019-12-23 05:10:26
问题 Hi everyone in my app i'm finding the iBeacons here the didExitRegion Method i called when i exit from the Region but the didEnterRegion method is not called when i entering the region.i fixed the background Refresh,remote notifications,location request always in info.plist here is my code - (void)viewDidLoad { [super viewDidLoad]; locManager=[[CLLocationManager alloc] init]; locManager.delegate=self; [self initRegion]; if([locManager respondsToSelector:@selector(requestAlwaysAuthorization)])