Estimote / iOS-Fleet-Management-SDK

Estimote Fleet Management SDK for iOS
https://developer.estimote.com
MIT License
1.18k stars 398 forks source link

3.2.7 sdk Nearables Monitoring for type delegates not firing #200

Closed jacobrosenthal closed 6 years ago

jacobrosenthal commented 9 years ago

SB0 Nearables with OS SA1.0.0 and 3.2.7 sdk. Im on ios 8.3, xcode 6.3.2

Previously under #199 nearables would crash before calling delegates. Now ranging by identifier and type delegates ARE firing, and monitoringforidentifier is working, but I cant get monitoringfortype to fire

    [self.nearableManager startMonitoringForType:ESTNearableTypeAll];
- (void)nearableManager:(ESTNearableManager *)manager didEnterTypeRegion:(ESTNearableType)type
{
    RCTLogInfo(@"didEnterTypeRegion %@", [self nameForNearableType:type]);
    NSDictionary *event = @{
                            @"type": [self nameForNearableType:type]
                            };
}

- (void)nearableManager:(ESTNearableManager *)manager didExitTypeRegion:(ESTNearableType)type
{
    RCTLogInfo(@"didExitTypeRegion %@", [self nameForNearableType:type]);
    NSDictionary *event = @{
                            @"type": [self nameForNearableType:type]
                            };
}
jacobrosenthal commented 9 years ago

Update. Monitoring for ESTNearableTypeGeneric and ESTNearableTypeFridge works. It appears to be something to do with TypeAll.

Sigh.. very frustrating to be working against a closed source.