-
Notifications
You must be signed in to change notification settings - Fork 109
Description
Segment.Analytics has a property called enabled which is used to enable/disable analytics.
This property is not persisting across app launches, so after each app launch and after analytics has been configured, its enabled property should be updated to reflect the setting a user has selected.
Is this expected? I went through the documentation but couldn't find anything related to this (analytics enabling/disabling and about this property), so I can't figure if this is intentional and library users should re-apply this property manually, or if this is a bug.
By looking at the code, it seems to me that this property is intentionally not persisted, but the implementation could be a bug, and I'd rather have a confirmation of how is this supposed to work.