Firebase SDK (firebase-analytics and firebase-config) is used for analytics and remote config for tests and settings.

Firebase connection

To connect Firebase, follow the steps:

Step 1: Import Firebase

Firebase SDK is already included in Appodeal SDK (firebase-analytics and firebase-config). You don't need to install it separately.

Step 2: Configure Firebase app

  1. Follow this guide to configure your Firebase app.
  2. For Android:
    Add your google-services.json file from the Firebase console to the Assets folder of your project.
    For iOS:
    Add your GoogleService-Info.plist file from the Firebase console to the Assets folder of your project.
  3. Go to Appodeal →  Appodeal Settings Firebase Settings and tick "Enable auto Configuration" for Firebase. 


Step 3: Contact us

Contact our support team via live chat or via email support@appodeal.com and send us your Datalocker and Master API. We will provide you with further steps

Demo application

You can use our  demo app  as a reference project.

Event Tracking

Appodeal SDK allows you to send events to analytic services such as Firebase, AppsFlyer, Adjust and Meta using a single method:

Appodeal.LogEvent("appodeal_sdk_test_event");

Send events with params if required.

Appodeal.LogEvent("logEventWithParams",
    new Dictionary<string, object>
    {
        { "testKey1", "testParam1" },
        { "testKey2", 42 },
        { "testKey3", 0.42d }
    });


Please note:

Event parameters can only be strings and numbers.