Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monitorForBeaconFamily / monitorForBeacon -> Crashes with nil exception :: The initializers for the BeaconRequest object seem broken to me?! #52

Closed
Daij-Djan opened this issue Aug 22, 2016 · 1 comment
Labels
Milestone

Comments

@Daij-Djan
Copy link

Hi
monitorForBeaconFamily / monitorForBeacon -> Crashes with nil exception

The initializers for the BeaconRequest object seem broken to me?!
BECAUSE :: they use beaconRegion before assigning it...

see:

 self.beaconRegion = CLBeaconRegion(proximityUUID: NSUUID(UUIDString: self.UUID)!, identifier: self.identifier)

self.UUID uses the region before it is even assigned:

 return beaconRegion!.proximityUUID.UUIDString

IMHO this is broken and maybe a typo. self.UUID should be uuid !?

@malcommac
Copy link
Owner

Please refer to #60 . Thanks for your report.

@malcommac malcommac added the bug label Aug 23, 2016
@malcommac malcommac added this to the 1.0.2 milestone Aug 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants