DeviceAnalyser (Deprecated)
Get relevant information from an iOS device.
Last updated
Get relevant information from an iOS device.
Last updated
2023 © Caf. - All rights reserved
Geolocation: Device Analyser is capable of obtaining geolocation data with high accuracy.
In the info.plist
file, add the permissions below:
First, create an object of type DeviceAnalyser
. This object is for you to configure all your business rules for the SDK:
Permission
Required?
Privacy - Location When In Use Usage Description
Yes
Result
Data type
location
On success, returns a CLLocation object with the geolocation data:
location.coordinate.latitude
location.coordinate.longitude
CLLocation
failure
In case of error, returns an SDKFailure
object
SDKFailure