Hi ,
The notification is getting invoked, however the minor and major value always returns as 0 instead of actual value.
( But inside the app could able to get the right minor and major values ). Any reason?
Any clarification would be highly appreciated.
Code snippet
(void)beaconManager:(ESTBeaconManager *)manager didEnterRegion:(ESTBeaconRegion *)region
{
NSString *str = region.proximityUUID.UUIDString ;
NSLog(@"UUID: %@", str);
NSLog(@"Major: %d", [region.major integerValue]);
NSLog(@"Minor: %d", [region.minor integerValue]);
//Notification..
UILocalNotification *notification = [[UILocalNotification alloc] init];
notification.alertBody = @“Enter region”;
notification.soundName = UILocalNotificationDefaultSoundName;
[[UIApplication sharedApplication] presentLocalNotificationNow:notification];
}