Skip to main content
Version: 8.7.x

bfgreporting.FirebaseAnalyticsPolicyEnforcement Class

Automatically enable/disable sending of Firebase Analytics based on GDPR policy acceptance. More...

Static Public Member Functions

static void initialize (final Context context)
 Initialize the Firebase Analytics processing. More...
 

Detailed Description

Automatically enable/disable sending of Firebase Analytics based on GDPR policy acceptance. If GDPR is disable by the user, no analytics will be sent by Firebase Analytics. This feature depends on the game including the following tag in it manifest file:<meta-data android:name="firebase_analytics_collection_enabled" android:value="false" />

Member Function Documentation

◆ initialize()

static void com.bigfishgames.bfglib.bfgreporting.FirebaseAnalyticsPolicyEnforcement.initialize (final Context context)
inlinestatic
Initialize the Firebase Analytics processing.
Parameters
contextAny Activity context