Skip to content

How to know whether AnalyticsCollectionEnabled is enabled to not? #5254

Answered by mikehardy
rashidul0405 asked this question in Q&A
Discussion options

You must be logged in to vote

There is no API for that in the corresponding module for firebase-js-sdk (which we pattern off of): https://firebase.google.com/docs/reference/js/firebase.analytics.Analytics#setanalyticscollectionenabled

Which implies that you must keep track of it. AsyncStorage is typically how people solve problems like this where they must keep track of state.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rashidul0405
Comment options

Answer selected by rashidul0405
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants