MarketingCloud analytics for tracking push notifcations can be enabled by calling setAnalyticsEnabled(true) on the MarketingCloudConfig.builder() instance when initializing SFMCSdk, as explained here.
We would like to enable/disable analytics according to user consent for tracking, to make our app 100% GDPR compliant.
In our app user can update user consent multiple times, so is there a way to enable/disable MC analytics without reinitialising SDK?