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 below.

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. Add your GoogleService-Info.plist file from Firebase console to the root of your Xcode project. If prompted, select to add the config file to all targets.
  3. Contact our support team via live chat or via email  support@appodeal.com to complete integration.

Demo application

You can use our demo analytics 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.trackEvent(
  "some event",
  customParameters: ["foo": "bar"]
)   

Please note:

Event parameters can only be strings and numbers.