Add the Location Tracking Framework
The Location Tracking framework tracks the location (latitude and longitude) of the user's device. It updates the Hurree app with the user's location. For example, your organisation can implement marketing campaigns that use this location-based information.
This framework needs to be added separately, in Objective-C or Swift. Instructions for each are outlined below.
In addition, integrators need to implement the code to enable pop-up to appear for the user.
This section explains how to add this required framework to your project.
To add the CoreLocation framework to your project
- Add the
CoreLocation.frameworkto enable location tracking.
- Using the
CLLocationManager, enable the location tracking opt-in for your users.
User Opt-In Feature
Location tracking is an opt-in feature; end users can decide whether to enable it or not.