Skip to content

Commit d757aed

Browse files
authored
Revert "fix broken start/stop scanning calls and sample"
1 parent 0082b9c commit d757aed

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ios-beacon-tools/RNLBeaconScanner.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131

3232
+ (instancetype) sharedBeaconScanner;
3333

34-
- (void) startScanningAltbeacons;
35-
- (void) stopScanningAltbeacons;
34+
- (void) startScanning;
35+
- (void) stopScanning;
3636
- (NSNumber *) calibratedRSSIFor: (RNLBeacon *)beacon;
3737
- (NSArray *) trackedBeacons;
3838

ios-beacon-tools/RNLBeaconScanner.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ - (instancetype) init {
6767

6868
self.beaconTracker = [[RNLBeaconTracker alloc] init];
6969

70-
[self startScanningAltbeacons];
70+
[self startScanning];
7171
return self;
7272
}
7373
- (void) dealloc {
74-
[self stopScanningAltbeacons];
74+
[self stopScanning];
7575
}
7676

7777
- (void)startScanning {

sample.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Sample {
1212
var scanner: RNLBeaconScanner?
1313
func sample() {
1414
scanner = RNLBeaconScanner.shared()
15-
scanner?.startScanningAltbeacons()
15+
scanner?.startScanning()
1616

1717
// Execute this code periodically (every second or so) to view the beacons detected
1818
if let detectedBeacons = scanner?.trackedBeacons() as? [RNLBeacon] {

0 commit comments

Comments
 (0)