Firebase
The Firebase dispatcher automatically dispatches events to the Firebase SDK, including UTM tags when they are available.
https://github.com/BatchLabs/Batch-iOS-firebase-dispatcher.git
Don't forget to register the dispatcher:
@import BatchFirebaseDispatcher
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
BatchEventDispatcher.add(BatchFirebaseDispatcher.instance())
[...]
BatchSDK.start(withAPIKey: "YOUR_API_KEY")
return true
}
}
Last updated
Was this helpful?