MOBILE LOCATION DATA Resources - SDK Data Location Data Tech Docs Cross Account Bucket Access - AWS Integration Create a Database, Table and Partition How To Run Basic Location Data Queries
POINT-OF-INTEREST DATA Resources
PUBLISHER SOLUTIONS Resources Consent Management Knowledge Base
|
STEP 4 - Example code for SDK setup (best to put it at application class):
JAVA
KOTLIN
STEP 5 - Example code to start tracking location:
JAVA
KOTLIN
minifyEnabled true
, add this to your proguard rules file:-keep class com.quadrant.sdk.locationdata.** {*;}
STEP 1 - Installation using Cocoapods
Add this line in your Podfile:
pod "QDPublisher", :git => 'https://github.com/datastreamx-plc/ios-
data-acquisition-sdk.git', :tag => '1.1.3'
and then install by type pod install
in your command lineTo install dependencies from cocoapods.
Sometimes the pod is not updated so you can clean cache and update pod using
pod cache clean --all
pod udpate QDPublisher
STEP 2 - Configure Info.plist
Update your location usage descriptions
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string><your location access description></string>
<key>NSLocationAlwaysUsageDescription</key>
<string><your location access description></string>
<key>NSLocationWhenInUseUsageDescription</key>
<string><your location access description></string>
Update your tracking manager description
<key>NSUserTrackingUsageDescription </key>
<string><your tracking usage description></string>
Register your integration key after app launch, after that you can setup your event and start tracking location, usually your AppDelegate.swift
Implement QDPublisherDelegate - iOS
After setting data-renderer-mark="true">publisher.delegate = self
you need to implement PublisherDelegate
:
Basically, the API is same just different language. Here’s the full code for objective-c in AppDelegate.m
And don’t forget to add implement PublisherDelegate in AppDelegate.h
Main body text.