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
The function TrackingOptions.forCoppaControl does not access the self object. It might be misleading since it looks like the function returns a COPPA-compliant version of the options it is being called on. I suggest either using the object the function is called on, or turning it into a static function.
Hi @danielmatzke, I agree this works better as a static function and is updated in #168, but please note this is not a public function and will be controlled through Configuration.enableCoppaControl
The function
TrackingOptions.forCoppaControl
does not access the self object. It might be misleading since it looks like the function returns a COPPA-compliant version of the options it is being called on. I suggest either using the object the function is called on, or turning it into a static function.Amplitude-Swift/Sources/Amplitude/TrackingOptions.swift
Lines 163 to 170 in f6efc4b
The text was updated successfully, but these errors were encountered: