iOS CocoaPod (depr.)

The Glimr SDK Lite focuses on location data from devices in foreground.

Installation

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)

594

Access WiFi Information

Example

NSUUID *apiToken = [[NSUUID alloc] initWithUUIDString:<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);
}];

๐Ÿ“˜

Questions?

Please reach out to us on [email protected]!