You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
[ios] In-app changes to MGLMapboxMetricsEnabled should take effect immediately #3336
In implementing an in-app telemetry on/off switch, we found that changing the MGLMapboxMetricsEnabled bool in NSUserDefaults will not take immediate effect because the telemetry manager is not actively monitoring that key for changes.
We should implement KVO/etc for this key and trigger +[MGLMapboxEvents validate] when it changes.
changed the title [-][ios] In-app changes to MGLMetricsEnabled should take effect immediately[/-][+][ios] In-app changes to MGLMapboxMetricsEnabled should take effect immediately[/+]on Dec 17, 2015
Activity
[-][ios] In-app changes to MGLMetricsEnabled should take effect immediately[/-][+][ios] In-app changes to MGLMapboxMetricsEnabled should take effect immediately[/+]friedbunny commentedon Jan 6, 2016
We actually do already watch for
NSUserDefaultschanges and then call+[MGLMapboxEvents validate]. Verified to be working in iosapp.