From f1af05a6d4280a813b7a9ad18a866a3ae8a6de87 Mon Sep 17 00:00:00 2001 From: "Hoa V. Dinh" Date: Wed, 1 Apr 2015 16:29:02 -0700 Subject: [PATCH] Fixed discovery of test beacons --- ios-uribeacon/uribeacon/UBUriBeacon.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios-uribeacon/uribeacon/UBUriBeacon.m b/ios-uribeacon/uribeacon/UBUriBeacon.m index 0643f06..b8102de 100644 --- a/ios-uribeacon/uribeacon/UBUriBeacon.m +++ b/ios-uribeacon/uribeacon/UBUriBeacon.m @@ -44,7 +44,7 @@ - (id)initWithPeripheral:(CBPeripheral *)peripheral if (data == nil) { // No UriBeacon service data. type = SERVICE_TYPE_TEST; - NSData *data = [info objectForKey:[CBUUID UUIDWithString:TEST_SERVICE]]; + data = [info objectForKey:[CBUUID UUIDWithString:TEST_SERVICE]]; if (data == nil) { // No ZipBeacon service data. return nil;