Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable / enable analytics collection #71

Closed
gerds0n opened this issue Mar 3, 2019 · 2 comments
Closed

Disable / enable analytics collection #71

gerds0n opened this issue Mar 3, 2019 · 2 comments

Comments

@gerds0n
Copy link

gerds0n commented Mar 3, 2019

Hi there,

thanks for the bindings! Is there a way to enable analytics collection from code (after initially disabling it in the plist using FIREBASE_ANALYTICS_COLLECTION_ENABLEDNO)? This is the normal process after consent for data collection is given by your users. The iOS SDK has a method AnalyticsConfiguration.shared().setAnalyticsCollectionEnabled(true) for this... but can't find it in the bindings.

Thank you and greetings,
Gerhard

@obigu
Copy link
Collaborator

obigu commented Mar 4, 2019

FIRAnalyticsConfiguration is currently not bound. As a workaround until a new version is released in which FIRAnalyticsConfiguration is bound, you can quickly bind it yourself manually creating only the bindings for that class and adding it to your project (if you have troubles you can ask on MobiVM Gitter channel)

@obigu obigu closed this as completed Mar 4, 2019
@gerds0n
Copy link
Author

gerds0n commented Mar 5, 2019

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants