summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLAccountManager.m
Commit message (Collapse)AuthorAgeFilesLines
* [ios] Update to libmbxaccounts 0.0.5upstream/friedbunny-libmbxaccounts-0.0.5Jason Wray2019-05-151-2/+2
|
* [ios] Enable/Disable sku token handling (#14467)Julian Rex2019-04-241-8/+35
|
* [ios] Add SKU tokens to all Mapbox requests (#14421)Jason Wray2019-04-171-7/+33
|
* [ios] Deactivate MGLMapView IBDesignable (#14379)Fabian Guerra Soto2019-04-101-0/+5
| | | | | | | | | | | | Removed MGLMapView's IBDesignable attribute. The map's view render attributes uses GL, making changes through the inspectables were not reflected in the storyboard and were causing IB crashes. * [ios] Deactivate MGLMapView IBDesignable. * [ios] Remove IBDesignable agent code. * [ios, macos] Remove NSProcessInfo category from iOS.
* [ios, macos] Move `apiBaseURL` to `MGLAccountManager`` (#13754)Jordan Kiley2019-02-131-0/+17
| | | [ios, macos] Move `apiBaseURL` to `MGLAccountManager`
* [ios, build] Completely remove support for Fabric (#12106)Jason Wray2018-06-181-35/+1
|
* [ios] Run MGLMapboxEvents setup asynchronously (#11784)Randall Lee2018-05-221-1/+3
| | | | | * [ios] Run MGLMapboxEvents setup asynchronously
* Replace embedded telem implementation with mapbox-mobile-events library (#10698)Jesse Bounds2018-02-201-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] Introduce mobile events dependency This adds the mobile events dependency including the events library's namespaced header file so that the related compiled symbols are prefixed to make them specific to the maps SDK. A pre-compiled header file is added so that the namespaced header file is added in all places where it is needed (most importantly every events library file). * [ios] Use new events library for telemetry events This makes the following significant changes: Refactors the MGLMapboxEvents singleton to delegate internally to an instance of MMEEventsManager that it keeps for itself. The MGLMapboxEvents public API is refactored to reflect this. Note: MGLMapboxEvents continues to handle checking for opt out Uses that new events API in MGLMapboxEvents to send all telem events (and turnstile) All embedded certs are removed since the new telem library uses public key info pinning Legacy telemetry utility classes for location and networking are removed since those are implemented in the telem library * [ios] Update submodules initialized by cmake We no longer bring in SMCalloutView as a submodule so it is removed. We now vendor the telemetry events library as a submodule so it is added. * Update mapbox-mobile-events * Update mobile events lib * Set events options with MGL user defaults values For options that historically could be set with user defaults in the Maps SDK, collect them and set the appropriate property values in the new events library. Also, check the existence of two new optional configuration values MGLTelemetryAccessToken and MGLTelemetryBaseURL so that the events endpoint and access token can be configured and the access token can easily be set dynamically and apart from the access token for the maps API. MGLTelemetryBaseURL replaces the legacy MGLTelemetryTestServerURL. This is ok because this value was never intended to be used by client applications. The new name better reflects the fact that the URL can be changed to any backend stack, not just a test server. Because it is possible for the configuration values to be read from user defaults before the events manager is fully set up, this also adds a local cache for the baseURL and accessToken values so that they can be stored and applied once it is time to setup the the events manager. * Update mapbox-mobile-events mapbox-mobile-events was forced pushed to include https://github.com/mapbox/mapbox-events-ios/pull/28 * Rename MGLMapboxEvents singleton access method Manager is not in the name of the class. Just call it an instance. * Update mapbox-mobile-events * Add comments about config value loading * Guard against creating events for IB * Refactor user defaults update handler This updates the handling logic for user defaults to break apart config changes that require a check for pausing or resuming the events lib’s telemetry collection from config changes that can happen with no update to the pause/resume state. It also ports the optimization from https://github.com/mapbox/mapbox-gl-native/pull/10803 so that the call to pause and resume is not performed unless the user defaults store has new values that have not yet been applied to the events library. * Update mapbox-mobile-events * Rename events submodule folder * Fix incorrect events library refs * Update mapbox-mobile-events * Update user user agent id value This value aligns with our schme of {source-sdk-platform} and will be used by the events library in the user agent and vendorid. * Update mapbox-mobile-events Pin to v3.0.0 (d522b18) * Improve code comments * [ios] Fixed a broken file reference to MGLTelemetryConfig.
* [ios, macos] Mark deprecated methods as unavailable (#11205)Jordan Kiley2018-02-161-5/+0
| | | Fixes #10735
* [ios] Fix strict prototypes warnings in blocksJason Wray2017-12-151-1/+1
|
* [ios, macos] Rename the iOS and macOS SDKs (#10610)Jordan Kiley2017-12-041-1/+1
|
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-271-1/+1
|
* [ios] Removed alternative to -ObjCMinh Nguyễn2016-04-161-10/+0
| | | | | | Xcode’s static library template comes with the -ObjC linker flag by default. Instead of removing that flag, this change removes the various imperfect workarounds we’ve been using to ensure that private SDK categories link. Given the size decrease in this static library since #2966 was fixed, we should have room to spare for the more straightforward approach. Moreover, an application that uses MGLMapView in a storyboard no longer needs to add -ObjC to the application target, which bloated the entire application, including other frameworks that had no need for -ObjC. -ObjC isn’t even needed for dynamic frameworks, and the OS X SDK is only built as a dynamic framework.
* [osx] Added OS X support for offline downloadsMinh Nguyễn2016-03-101-0/+123