summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-05-14 00:38:52 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-05-14 00:38:52 -0700
commita04703e2d59ccedf32ef9bbd22169640a5aeec50 (patch)
tree2cd5206e30a553a72152c414ea6e09c4c6e597bc /platform
parent0ad76c95d20f7ef7b7ef712d8edb8c54219880e7 (diff)
downloadqtlocation-mapboxgl-a04703e2d59ccedf32ef9bbd22169640a5aeec50.tar.gz
Updated Metrics in-app opt-out assertion
The message referred to `+[MGLAccountManager setMapboxMetricsEnabledSettingShownInApp:]`, which is no longer available.
Diffstat (limited to 'platform')
-rw-r--r--platform/ios/MGLMapboxEvents.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/MGLMapboxEvents.m b/platform/ios/MGLMapboxEvents.m
index 017dceeb37..44972395d4 100644
--- a/platform/ios/MGLMapboxEvents.m
+++ b/platform/ios/MGLMapboxEvents.m
@@ -215,7 +215,7 @@ const NSTimeInterval MGLFlushInterval = 60;
}
}
- NSAssert(defaultEnabledValue, @"End users must be able to opt out of Metrics in your app, either inside Settings (via Settings.bundle) or inside this app. If you implement the opt-out control inside this app, disable this assertion by setting [MGLAccountManager setMapboxMetricsEnabledSettingShownInApp:YES] before the app initializes any Mapbox GL classes.");
+ NSAssert(defaultEnabledValue, @"End users must be able to opt out of Metrics in your app, either inside Settings (via Settings.bundle) or inside this app. If you implement the opt-out control inside this app, disable this assertion by setting MGLMapboxMetricsEnabledSettingShownInApp to YES in Info.plist.");
[[NSUserDefaults standardUserDefaults] registerDefaults:@{
@"MGLMapboxMetricsEnabled": defaultEnabledValue,
}];