Repository navigation
Add action sheet shortcut to Settings.app metrics opt-out - #1529
friedbunny wants to merge 2 commits into
Conversation
Only applicable to iOS 8+. Dynamically checks if Settings.bundle has MGLMapboxMetricsEnabled key. Fixes #1519.
There was a problem hiding this comment.
The property itself should be called hasSettingsBundleMetricsOptOut, without a renamed getter, because it doesn’t hold the opt-out control but only indicates its existence.
|
Hi @friedbunny, thanks for your patience on this PR. I’ve been busy reworking how Metrics-related preferences are read, particularly in #1553. At this point, I think it may make more sense to just show and hide the menu item based on |
|
@1ec5 That sounds good, I'll make that change and push to this branch. You've really been shaking up the metrics prefs lately, I'm going to have to reread the code to see where things have settled. 💨 |
|
Squashed at #1611. YOLO. |

Dynamically checks if
Settings.bundlehasMGLMapboxMetricsEnabledkey and only adds button to the ℹ️ action sheet if that key exists.Only applicable to iOS 8+, tested to be safe with iOS 7.
Fixes #1519.
/cc @1ec5