Event dispatchers

What is an event dispatcher?

Batch can trigger with a number of analytics-oriented events that might be of interest in external analytic tools. An event dispatcher is the code that listens to those events, and dispatches them to the solution of your choice.

Event dispatchers are implemented using native code on both iOS and Android as they are a low level feature of the SDK.

Add a "ready-to-go" dispatcher

Batch provide you with premade dispatchers for specific use cases (aka ready-to-go dispatcher). They are enabled by simply registering them in your AppDelegate, and will automatically track events into your analytics solution with a predetermined structure.

As Flutter makes it easy to tweak the native projects, please follow the native event dispatcher documentation for each platform:

Once you add the native dependency and register the dispatchers, any SDK interaction triggered from Flutter will automatically be tracked in the event dispachers.