I have a small problem, which I expect is due to a typo or small mistake. The first time I load the beacon manager I request authorisation (well every time, but I get the popup the first time).
- (id) init {
self = [super init];
[ESTConfig setupAppID:@"xxx" andAppToken:@"xxx"];
self.beaconManager = [[ESTBeaconManager alloc] init];
self.beaconManager.delegate = self;
[self.beaconManager requestAlwaysAuthorization];
return self;
}
However the delegate method
- (void) beaconManager:(id)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status
is never called. Is this the right procedure, or am I missing something. It means that ranging never starts. When I restart the App everything works perfect as this delegate method is called and ranging is started.
I have had this problem since the beginning and thought it might have been a bug, but now the App needs to be released and it still doesn’t work it becomes a problem. So any suggestions are appreciated.
ps. could a reason be that I have the procedure in the init: of my DOBeaconManager? i would think not, as it works when launched the second time, but still, I cannot see what I do wrong.