React Native Firebase
GitHub
npm
Preparing search index...
@react-native-firebase/analytics
modular
setAnalyticsCollectionEnabled
Function setAnalyticsCollectionEnabled
setAnalyticsCollectionEnabled
(
analytics
:
Analytics
,
enabled
:
boolean
,
)
:
Promise
<
void
>
If true, allows the device to collect analytical data and send it to Firebase. Useful for GDPR.
Parameters
analytics
:
Analytics
enabled
:
boolean
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation
GitHub
npm
React Native Firebase
Loading...
If true, allows the device to collect analytical data and send it to Firebase. Useful for GDPR.