Resolved Issues:
New Features:
Resolved Issues:
New Features:
Notes:
Resolved Issues:
New Features:
Deprecations:
The GNSMessageManager methods for creating publications and subscriptions with extra parameters have been deprecated in favor of the more flexible block-based methods, which allow new parameters to be added in the future. For example, here is the old way to pass a strategy when creating a publication:
_publication = [_messageManager publicationWithParams:
[GNSPublicationParams paramsWithMessage:message strategy:strategy]];
And here is the new way:
_publication = [_messageManager publicationWithMessage:message
paramsBlock:^(GNSPublicationParams *params) {
params.strategy = strategy;
}];
Simplification of beacon scanning parameters in subscriptions. Beacon parameters are now separate and less confusing; there's no need to specify the set of mediums and set it to scan mode, since these can be inferred. The old parameters have been deprecated. For example, here is the old way to create a beacon scanning subscription:
GNSStrategy *beaconStrategy =
[GNSStrategy strategyWithParamsBlock:^(GNSStrategyParams *params) {
params.includeBLEBeacons = YES;
params.discoveryMediums = kGNSDiscoveryMediumsBLE;
params.discoveryMode = kGNSDiscoveryModeScan;
}];
GNSSubscriptionParams *beaconParams =
[GNSSubscriptionParams paramsWithMessageNamespace:@"com.mycompany.mybeaconservice"
type:@"mybeacontype"
strategy:beaconStrategy];
_beaconSubscription =
[_messageManager subscriptionWithParams:beaconParams
messageFoundHandler:messageFoundHandler
messageLostHandler:messageLostHandler];
And here is the new way:
_beaconSubscription = [_messageManager
subscriptionWithMessageFoundHandler:messageFoundHandler
messageLostHandler:messageLostHandler
paramsBlock:^(GNSSubscriptionParams *params) {
params.deviceTypesToDiscover = kGNSDeviceBLEBeacon;
params.messageNamespace = @"com.mycompany.mybeaconservice";
params.type = @"mybeacontype";
}];
Resolved Issues:
Other changes:
Known issues:
Resolved Issues:
Features:
Added debug logging to GNSMessageManager, which can be helpful in tracking down problems encountered by clients. To enable debug logging, add this to your initialization code:
[GNSMessageManager setDebugLoggingEnabled:YES];
Resolved Issues:
Initial public release.
Resolved Issues: