iOS
The Glimr SDK Lite focuses on location data from devices in foreground.
SDK integration
You have two options to integrate the iOS SDK. You can find the latest release on Github or you use CocoaPods pod "GLGeoRealtime" to add the latest stable version to your app.
Info.plist
<key>NSLocationWhenInUseUsageDescription</key>
<string>This uses location data</string>Device Capabilities (entitlements)

Access WiFi Information
Code Snippet
NSUUID *apiToken = [[NSUUID alloc] initWithUUIDString:GLIMR_API_TOKEN];
GLAudienceManager *audienceManager = [[GLAudienceManager alloc] initWithApiToken:apiToken geoFixDecimals:4];
NSLog(@"Cached tags %@", [audienceManager cachedTags:GLTagResponseFormatFlat]);
[audienceManager glimrTagsWithCompletion:^(NSDictionary *audiences, NSError *error) {
NSLog(@"Tags %@", audiences);
}];Updated 10 months ago
