summaryrefslogtreecommitdiff
path: root/gyp
diff options
context:
space:
mode:
authorJesse Bounds <jesse@rebounds.net>2016-02-19 15:00:17 -0800
committerJesse Bounds <jesse@rebounds.net>2016-02-24 14:45:42 -0800
commit9a97a4d34f03e2c6266ae9b38c4dacda342520e1 (patch)
tree8b788c09b40317e80cf479ae154b25bae55c4278 /gyp
parent96cd22efa0ac6b69fe93a130b5e8f1b17526db59 (diff)
downloadqtlocation-mapboxgl-9a97a4d34f03e2c6266ae9b38c4dacda342520e1.tar.gz
[ios] Introduce API Client
Addresses https://github.com/mapbox/mapbox-gl-native/issues/3704 This introduces a new utility class that wraps networking via NSURLSession. All related code that used to live inside the telemetry MGLMapboxEvents class has been pulled into the new MGLAPIClient. An API client instance is used as a service by telemetry and can be reused in the future when and if our networking needs grow or become more complex.
Diffstat (limited to 'gyp')
-rw-r--r--gyp/platform-ios.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/gyp/platform-ios.gypi b/gyp/platform-ios.gypi
index dc52db7acd..e2c840581b 100644
--- a/gyp/platform-ios.gypi
+++ b/gyp/platform-ios.gypi
@@ -46,6 +46,8 @@
'../platform/darwin/src/MGLMapCamera.mm',
'../platform/ios/src/MGLMapboxEvents.h',
'../platform/ios/src/MGLMapboxEvents.m',
+ '../platform/ios/src/MGLAPIClient.h',
+ '../platform/ios/src/MGLAPIClient.m',
'../platform/ios/src/MGLMapView.mm',
'../platform/ios/src/MGLAccountManager_Private.h',
'../platform/ios/src/MGLAccountManager.m',